Description
Asterisk Open Source 1.0.x and 1.2.x before 1.2.29 and Business Edition A.x.x and B.x.x before B.2.5.3, when pedantic parsing (aka pedanticsipchecking) is enabled, allows remote attackers to cause a denial of service (daemon crash) via a SIP INVITE message that lacks a From header, related to invocations of the ast_uri_decode function, and improper handling of (1) an empty const string and (2) a NULL pointer.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | asterisk | 1.4 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Asterisk 1.2.x - SIP channel driver / in pedantic mode Remote Crash EDB-5749 · dos · Jun 5, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- GLSA-200905-01 vendor-advisory
- 30517 third-party-advisory
- 5749 exploit
- asterisk-asturidecode-dos(42823) vdb-entry
- http://bugs.digium.com/view.php?id=12607
- 1020166 vdb-entry
- 20080603 AST-2008-008: Remote Crash Vulnerability in SIP channel driver when run in pedantic mode mailing-list
- ADV-2008-1731 vdb-entry
- 34982 third-party-advisory
- http://svn.digium.com/view/asterisk?view=rev&revision=120109
- http://downloads.digium.com/pub/security/AST-2008-008.html