Vulnerabilities > CVE-2006-2898 - Improper Restriction of Operations Within the Bounds of A Memory Buffer vulnerability in Digium Asterisk
Summary
The IAX2 channel driver (chan_iax2) for Asterisk 1.2.x before 1.2.9 and 1.0.x before 1.0.11 allows remote attackers to cause a denial of service (crash) and execute arbitrary code via truncated IAX 2 (IAX2) video frames, which bypasses a length check and leads to a buffer overflow involving negative length check. NOTE: the vendor advisory claims that only a DoS is possible, but the original researcher is reliable. This vulnerability is addressed in the following product releases: Asterisk, Asterisk, 1.2.9 Asterisk, Asterisk, 1.0.11
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 9 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family SuSE Local Security Checks NASL id SUSE_ASTERISK-1676.NASL description A security problem was fixed in the IAX2 channel driver of Asterisk that could be used by remote users to execute code or at least crash Asterisk. This issue is tracked by the Mitre CVE ID CVE-2006-2898. last seen 2020-06-01 modified 2020-06-02 plugin id 27155 published 2007-10-17 reporter This script is Copyright (C) 2007-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/27155 title openSUSE 10 Security Update : asterisk (asterisk-1676) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200606-15.NASL description The remote host is affected by the vulnerability described in GLSA-200606-15 (Asterisk: IAX2 video frame buffer overflow) Asterisk fails to properly check the length of truncated video frames in the IAX2 channel driver which results in a buffer overflow. Impact : An attacker could exploit this vulnerability by sending a specially crafted IAX2 video stream resulting in the execution of arbitrary code with the permissions of the user running Asterisk. Workaround : Disable public IAX2 support. last seen 2020-06-01 modified 2020-06-02 plugin id 21708 published 2006-06-16 reporter This script is Copyright (C) 2006-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/21708 title GLSA-200606-15 : Asterisk: IAX2 video frame buffer overflow NASL family Debian Local Security Checks NASL id DEBIAN_DSA-1126.NASL description A problem has been discovered in the IAX2 channel driver of Asterisk, an Open Source Private Branch Exchange and telephony toolkit, which may allow a remote attacker to cause a crash of the Asterisk server. last seen 2020-06-01 modified 2020-06-02 plugin id 22668 published 2006-10-14 reporter This script is Copyright (C) 2006-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/22668 title Debian DSA-1126-1 : asterisk - buffer overflow
References
- http://secunia.com/advisories/20497
- http://secunia.com/advisories/20658
- http://secunia.com/advisories/20899
- http://secunia.com/advisories/21222
- http://securitytracker.com/id?1016236
- http://www.asterisk.org/node/95
- http://www.debian.org/security/2006/dsa-1126
- http://www.gentoo.org/security/en/glsa/glsa-200606-15.xml
- http://www.novell.com/linux/security/advisories/2006_38_security.html
- http://www.securityfocus.com/archive/1/436127/100/0/threaded
- http://www.securityfocus.com/archive/1/436671/100/0/threaded
- http://www.securityfocus.com/bid/18295
- http://www.vupen.com/english/advisories/2006/2181
- https://exchange.xforce.ibmcloud.com/vulnerabilities/27045