FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

asterisk -- multiple vulnerabilities

Affected packages
asterisk10 < 10.12.4
asterisk11 < 11.6.1
asterisk18 < 1.8.24.1

Details

VuXML ID 0c39bafc-6771-11e3-868f-0025905a4771
Discovery 2013-12-16
Entry 2013-12-17

The Asterisk project reports:

A 16 bit SMS message that contains an odd message length value will cause the message decoding loop to run forever. The message buffer is not on the stack but will be overflowed resulting in corrupted memory and an immediate crash.

External control protocols, such as the Asterisk Manager Interface, often have the ability to get and set channel variables; this allows the execution of dialplan functions. Dialplan functions within Asterisk are incredibly powerful, which is wonderful for building applications using Asterisk. But during the read or write execution, certain diaplan functions do much more. For example, reading the SHELL() function can execute arbitrary commands on the system Asterisk is running on. Writing to the FILE() function can change any file that Asterisk has write access to. When these functions are executed from an external protocol, that execution could result in a privilege escalation.

References

CVE Name CVE-2013-7100
URL http://downloads.asterisk.org/pub/security/AST-2013-006.pdf
URL http://downloads.asterisk.org/pub/security/AST-2013-007.pdf
URL https://www.asterisk.org/security