Stack-based buffer overflow in Asterisk Open Source - CVE-2012-1183

 

Stack-based buffer overflow in Asterisk Open Source - CVE-2012-1183

Published: September 18, 2012 / Updated: March 10, 2023


Vulnerability identifier: #VU32803
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-1183
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the milliwatt_generate function in the Miliwatt application when processing a large number of samples in an audio packet. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Asterisk Open Source
Gentoo Linux
Fedora
asterisk (Alpine package)
asterisk

How to mitigate CVE-2012-1183

Install update from vendor's website.

asterisk (Alpine package) - addressed in versions 1.8.10.1-r0, 1.8.11.1-r0
asterisk - addressed in versions 1.8.10.1-1.el6, 1.8.11.0-1.el6

External References

Related Security Bulletins