Description
Multiple buffer overflows in Asterisk Open Source 1.4.x before 1.4.18.1 and 1.4.19-rc3, Open Source 1.6.x before 1.6.0-beta6, Business Edition C.x.x before C.1.6.1, AsteriskNOW 1.0.x before 1.0.2, Appliance Developer Kit before 1.4 revision 109386, and s800i 1.1.x before 1.1.0.2 allow remote attackers to (1) write a zero to an arbitrary memory location via a large RTP payload number, related to the ast_rtp_unset_m_type function in main/rtp.c; or (2) write certain integers to an arbitrary memory location via a large number of RTP payloads, related to the process_sdp function in channels/chan_sip.c.
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:1.4.18.1~dfsg-1 | — |
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.4.x - RTP Codec Payload Handling Multiple Buffer Overflow Vulnerabilities EDB-31440 · dos · Mar 18, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 28308 vdb-entry
- 3763 third-party-advisory
- http://labs.musecurity.com/advisories/MU-200803-01.txt
- asterisk-rtp-codecpayload-bo(41305) vdb-entry
- 1019628 vdb-entry
- 29426 third-party-advisory
- http://www.asterisk.org/node/48466
- FEDORA-2008-2554 vendor-advisory
- 20080318 AST-2008-002: Two buffer overflows in RTP Codec Payload Handling mailing-list
- ADV-2008-0928 vdb-entry
- http://downloads.digium.com/pub/security/AST-2008-002.html
- FEDORA-2008-2620 vendor-advisory
- asterisk-rtppayload-bo(41302) vdb-entry
- 29470 third-party-advisory