Description
Multiple buffer overflows in the voicemail functionality in Asterisk 1.4.x before 1.4.13, when using IMAP storage, might allow (1) remote attackers to execute arbitrary code via a long combination of Content-type and Content-description headers, or (2) local users to execute arbitrary code via a long combination of astspooldir, voicemail context, and voicemail mailbox fields. NOTE: vector 2 requires write access to Asterisk configuration files.
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.13~dfsg-1 | — |
References
- http://downloads.digium.com/pub/security/AST-2007-022.html
- 38201 vdb-entry
- asterisk-contentheader-bo(37052) vdb-entry
- 38202 vdb-entry
- 27184 third-party-advisory
- 1018804 vdb-entry
- 26005 vdb-entry
- asterisk-sprintf-bo(37051) vdb-entry
- 20071010 AST-2007-022: Buffer overflows in voicemail when using IMAP storage mailing-list
- ADV-2007-3454 vdb-entry