Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145966 - Multiple Vulnerabilities in Asterisk 1.2.10
Summary: Multiple Vulnerabilities in Asterisk 1.2.10
Status: RESOLVED DUPLICATE of bug 144941
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Low critical (vote)
Assignee: Gentoo Security
URL: http://labs.musecurity.com/advisories...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 03:07 UTC by Eugeniy Khabarov aka ShadOS
Modified: 2006-09-02 04:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugeniy Khabarov aka ShadOS 2006-09-02 03:07:00 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

http://labs.musecurity.com/advisories.html

Affected Product/Versions:

Asterisk 1.0.0 through 1.2.10

Product Overview:

http://www.asterisk.org/features

"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.

Solution:

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:
http://ftp.digium.com/pub/asterisk/asterisk-1.2.11-patch.gz

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

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

Credit:

These vulnerabilities were discovered by the Mu Security research team.

http://labs.musecurity.com/pgpkkey.txt

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. 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFE7JuPMl+docYeP+YRAg7aAJ978dkk09dDG2P/CNRJkk3gWcMSAQCfXud0
ActeX5hrO9+B9rJzefxRkis=
=OXvK
-----END PGP SIGNATURE-----
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2006-09-02 04:01:57 UTC

*** This bug has been marked as a duplicate of 144941 ***