Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195620 - =net-misc/asterisk-1.4.* - Buffer overflows in voicemail when using IMAP storage
Summary: =net-misc/asterisk-1.4.* - Buffer overflows in voicemail when using IMAP storage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: voip herd (OBSOLETE)
URL: http://downloads.digium.com/pub/secur...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-12 14:42 UTC by Carsten Lohrke (RETIRED)
Modified: 2009-02-23 07:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2007-10-12 14:42:32 UTC
Release 1.4.13 fixes the issues.



The function "sprintf" was used heavily throughout the IMAP-specific voicemail code. After auditing the code, two vulnerabilities were discovered, both buffer overflows.


The following buffer overflow required write access to Asterisk's configuration files in order to be exploited.


1) If a combination of the astspooldir (set in asterisk.conf), the voicemail context, and voicemail mailbox, were very long, then there was a buffer overflow when playing a message or forwarding a message (in the case of forwarding, the context and mailbox in question are the context and mailbox that the message was being forwarded to).


The following buffer overflow could be exploited remotely.


2) If any one of, or any combination of the Content-type or Content-description headers for an e-mail that Asterisk recognized as a voicemail message contained more than a 1024 characters, then a buffer would overflow while listening to a voicemail message via a telephone. It is important to note that this did NOT affect users who get their voicemail via an e-mail client.


http://downloads.digium.com/pub/security/AST-2007-022.html
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2007-10-12 16:17:28 UTC
fyi asterisk 1.4.x is not in the main portage tree, only the voip overlay.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2007-10-12 16:39:37 UTC
Oh, my bad. Just saw the annoucement , but didn't expect 1.4 not in the tree. voip team, please close as invalid or as you like. Don't know who handles the overlay.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2007-10-12 17:11:48 UTC
changing category
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-08 11:20:41 UTC
Also: http://downloads.digium.com/pub/security/AST-2008-001.html
Comment 5 kfm 2009-02-23 07:10:15 UTC
Closing as there are no affected versions in either the portage tree or the overlay.