CVE-2012-1184

Asterisk 1.8.x < 1.8.10.1 and 10.x < 10.2.1 - Stack-Based Buffer Overflow via HTTP Digest Authentication Header

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2012-1184. PoCs published by Russell Bryant.

AI-analyzed exploit summary This exploit demonstrates a stack buffer overflow in Asterisk's HTTP digest authentication handling, specifically in the ast_parse_digest() function. The PoC uses a crafted Authorization header with an excessively long string to trigger the vulnerability, potentially leading to remote code execution.

Description

Stack-based buffer overflow in the ast_parse_digest function in main/utils.c in Asterisk 1.8.x before 1.8.10.1 and 10.x before 10.2.1 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a long string in an HTTP Digest Authentication header.

Exploits (1)

exploitdb WORKING POC
by Russell Bryant · textdoslinux
https://www.exploit-db.com/exploits/18855

This exploit demonstrates a stack buffer overflow in Asterisk's HTTP digest authentication handling, specifically in the ast_parse_digest() function. The PoC uses a crafted Authorization header with an excessively long string to trigger the vulnerability, potentially leading to remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Asterisk 1.8
No auth needed
Prerequisites: Asterisk 1.8 with HTTP AMI enabled
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/16/17
Vendor Advisory x_refsource_confirm
http://www.asterisk.org/node/51797
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/48417
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2012/03/16/10
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/80126
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1026813
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/74083

Scores

EPSS 0.1639
EPSS Percentile 96.6%

Details

CWE
CWE-119
Status published
Products (24)
digium/asterisk 1.8.0 (10 CPE variants)
digium/asterisk 1.8.1.1
digium/asterisk 1.8.1.2
digium/asterisk 1.8.2
digium/asterisk 1.8.2.1
digium/asterisk 1.8.2.2
digium/asterisk 1.8.2.3
digium/asterisk 1.8.2.4
digium/asterisk 1.8.3 (4 CPE variants)
digium/asterisk 1.8.3.1
... and 14 more
Published Sep 18, 2012
Tracked Since Feb 18, 2026