#VU32804 Stack-based buffer overflow in Asterisk Open Source - CVE-2012-1184


| Updated: 2020-07-29

Vulnerability identifier: #VU32804

Vulnerability risk: Medium

CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2012-1184

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Asterisk Open Source
Server applications / Conferencing, Collaboration and VoIP solutions

Vendor: Digium (Linux Support Services)

Description

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

The vulnerability exists due to a boundary error within the ast_parse_digest function in main/utils.c when processing a long string in an HTTP Digest Authentication header. 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.

Mitigation
Update to version 1.8.10.1.

Vulnerable software versions

Asterisk Open Source: 1.8.0 - 1.8.10.0


External links
https://downloads.asterisk.org/pub/security/AST-2012-003.pdf
https://downloads.asterisk.org/pub/security/AST-2012-003-1.8.diff
https://osvdb.org/80126
https://secunia.com/advisories/48417
https://www.asterisk.org/node/51797
https://www.openwall.com/lists/oss-security/2012/03/16/10
https://www.openwall.com/lists/oss-security/2012/03/16/17
https://www.securitytracker.com/id?1026813
https://exchange.xforce.ibmcloud.com/vulnerabilities/74083


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability