Stack-based buffer overflow in Asterisk



| Updated: 2020-07-28
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-1184
CWE-ID CWE-121
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Asterisk Open Source
Server applications / Conferencing, Collaboration and VoIP solutions

Vendor Digium (Linux Support Services)

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Stack-based buffer overflow

EUVDB-ID: #VU32804

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 - Stack-based buffer overflow

Exploit availability: Yes

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

CPE2.3 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.



###SIDEBAR###