Bug 1043917 - asterisk: asterisk manager user dialplan permission escalation
Summary: asterisk: asterisk manager user dialplan permission escalation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1043921 1043923
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 12:54 UTC by Ratul Gupta
Modified: 2019-09-29 13:11 UTC (History)
4 users (show)

Fixed In Version: asterisk 1.8.24.1, asterisk 11.6.1
Clone Of:
Environment:
Last Closed: 2015-08-22 16:47:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Ratul Gupta 2013-12-17 12:54:00 UTC
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:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732355
http://downloads.asterisk.org/pub/security/AST-2013-007.html

Patch:
1.8: http://downloads.asterisk.org/pub/security/AST-2013-007-1.8.diff
11: http://downloads.asterisk.org/pub/security/AST-2013-007-11.diff

Comment 1 Ratul Gupta 2013-12-17 12:55:42 UTC
Created asterisk tracking bugs for this issue:

Affects: fedora-all [bug 1043921]
Affects: epel-6 [bug 1043923]

Comment 2 Murray McAllister 2013-12-23 00:44:02 UTC
Looks like this will not get a CVE. Explanation in the following:

http://seclists.org/oss-sec/2013/q4/530

Comment 3 Fedora Update System 2014-01-08 07:50:35 UTC
asterisk-11.7.0-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2014-01-08 07:54:58 UTC
asterisk-11.7.0-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2014-01-08 07:59:10 UTC
asterisk-11.7.0-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.