Description
Multiple stack-based buffer overflows in the process_sdp function in chan_sip.c of the SIP channel T.38 SDP parser in Asterisk before 1.4.3 allow remote attackers to execute arbitrary code via a long (1) T38FaxRateManagement or (2) T38FaxUdpEC SDP parameter in an SIP message, as demonstrated using SIP INVITE.
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.3~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 2
- Asterisk 1.4 SIP T.38 SDP - Parsing Remote Stack Buffer Overflow (PoC) (1) EDB-29900 · dos · Mar 21, 2007 · verified
- Asterisk 1.4 SIP T.38 SDP - Parsing Remote Stack Buffer Overflow (PoC) (2) EDB-29901 · dos · Mar 21, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 23648 vdb-entry
- 35368 vdb-entry
- ADV-2007-1534 vdb-entry
- 20070425 ASA-2007-010: Two stack buffer overflows in SIP channel's T.38 SDP parsing code mailing-list
- 20070704 Multiple Remote unauthenticated stack overflows in Asterisk chan_sip.c mailing-list
- asterisk-processsdp-bo(33895) vdb-entry
- 24977 third-party-advisory
- 1018337 vdb-entry
- 1017951 vdb-entry
- 2645 third-party-advisory
- http://www.asterisk.org/files/ASA-2007-010.pdf