Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (VoIP)  >   Asterisk Vendors:   Digium (Linux Support Services)
Asterisk Dialplan Functions Let Remote Authenticated Users Gain Elevated Privileges
SecurityTracker Alert ID:  1029500
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Dec 16 2013
Impact:   Execution of arbitrary code via network, Modification of system information, Modification of user information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.8.x, 10.x
Description:   A vulnerability was reported in Asterisk. A remote authenticated user can gain elevated privileges on the target system.

A remote authenticated user can access dialplan functions via external control protocols and cause certain dialplan functions to modify arbitrary files or executing arbitrary commands on the target system.

Matt Jordan reported this vulnerability.

Impact:   A remote authenticated user can modify arbitrary files or executing arbitrary commands on the target system.
Solution:   The vendor has issued a fix (, 10.12.4, 11.6.1).

The vendor's advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (Any), UNIX (Any)

Message History:   None.

 Source Message Contents

Subject:  [Full-disclosure] AST-2013-007: Asterisk Manager User Dialplan Permission Escalation

               Asterisk Project Security Advisory - AST-2013-007

         Product        Asterisk                                              
         Summary        Asterisk Manager User Dialplan Permission Escalation  
    Nature of Advisory  Permission Escalation                                 
      Susceptibility    Remote Authenticated Sessions                         
         Severity       Minor                                                 
      Exploits Known    None                                                  
       Reported On      November 25, 2013                                     
       Reported By      Matt Jordan                                           
        Posted On       December 16, 2013                                     
     Last Updated On    December 16, 2013                                     
     Advisory Contact   David Lee < dlee AT digium DOT com >                  
         CVE Name       Pending                                               

    Description  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         

    Resolution  Asterisk can now inhibit the execution of these functions     
                from external interfaces such as AMI, if live_dangerously in  
                the [options] section of asterisk.conf is set to no.          
                For backwards compatibility, live_dangerously defaults to     
                yes, and must be explicitly set to no to enable this          
                privilege escalation protection.                              

                               Affected Versions
                Product                 Release Series      
         Asterisk Open Source                1.8.x          All Versions      
         Asterisk Open Source                10.x           All Versions      
      Asterisk with Digiumphones       10.x-digiumphones    All Versions      
         Asterisk Open Source                11.x           All Versions      
          Certified Asterisk                 1.8.x          All Versions      
          Certified Asterisk                 11.x           All Versions      

                                  Corrected In
                  Product                              Release                
            Asterisk Open Source    , 10.12.4, 11.6.1       
         Asterisk with Digiumphones              10.12.4-digiumphones         
             Certified Asterisk                1.8.15-cert4, 11.2-cert3       

                                  SVN URL                                       Revision             Asterisk 1.8              Asterisk 10 Asterisk        
                                                                             10-digiumphones              Asterisk 11          Certified       
                                                                             Asterisk 1.8.15            Certified       
                                                                             Asterisk 11.2   


    Asterisk Project Security Advisories are posted at                                                             
    This document may be superseded by later versions; if so, the latest      
    version will be posted at                                             and                        

                                Revision History
          Date                 Editor                  Revisions Made         
    12/16/2013         Matt Jordan              Initial Revision              

               Asterisk Project Security Advisory - AST-2013-007
              Copyright (c) 2013 Digium, Inc. All Rights Reserved.
  Permission is hereby granted to distribute and publish this advisory in its
                           original, unaltered form.

Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia -

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, LLC