Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[Full-disclosure] [MU-200608-01] Multiple Vulnerabilities in Asterisk 1.2.10

Date: Wed Aug 23 2006 - 13:27:01 CDT

Hash: SHA1

Multiple Vulnerabilities in Asterisk 1.2.10 [MU-200608-01]
August 23, 2006


Affected Product/Versions:

Asterisk 1.0.0 through 1.2.10

Product Overview:


"Asterisk-based telephony solutions offer a rich and flexible feature set.
Asterisk offers both classical PBX functionality and advanced features, and
interoperates with traditional standards-based telephony systems and Voice
over IP systems. Asterisk offers the features one would expect of a large
proprietary PBX system such as Voicemail, Conference Bridging, Call Queuing,
and Call Detail Records."

Vulnerability Details:

A remote stack buffer overflow condition in Asterisk's MGCP implementation
could allow for arbitrary code execution. The vulnerable code is triggered
with the use of a malformed AUEP (audit endpoint) response message.

A second issue exists in the handling of file names sent to the Record()
application which could lead to arbitrary code execution via a format string
attack or arbitrary file-overwrite via directory traversal techniques. The
impact of this vulnerability is minimal, however, as it requires an
administrator to use a client-controlled variable as part of the filename.


Mu Security would like to thank the Asterisk security team for their
timely response to these issues.

A patch for the buffer overflow is available from the following link:

To protect against the Record() vulnerability, do not use user-controlled
variables ( eg, ${CALLERIDNAME} ) as part of the the filename argument.

08/10/06 - First contact with vendor
08/16/06 - Vendor acknowledges vulnerability
08/23/06 - Advisory released


These vulnerabilities were discovered by the Mu Security research team.


Mu Security offers a new class of security analysis system, delivering a
rigorous and streamlined methodology for verifying the robustness and security
readiness of any IP-based product or application. Founded by the pioneers of
intrusion detection and prevention technology, Mu Security is backed by
preeminent venture capital firms that include Accel Partners, Benchmark
Capital and DAG Ventures. The company is headquartered in Sunnyvale, CA. For
more information, visit the companys website at http://www.musecurity.com.

Version: GnuPG v1.4.2.2 (Darwin)


Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/