copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

AA-2007.0115 -- [UNIX/Linux] -- Multiple Vulnerabilities in Asterisk

Date: 30 November 2007
References: ESB-2007.0968  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
AA-2007.0115                  AUSCERT Advisory

                               [UNIX/Linux]
                   Multiple Vulnerabilities in Asterisk
                             30 November 2007
- ---------------------------------------------------------------------------

        AusCERT Advisory Summary
        ------------------------

Product:              Asterisk
Operating System:     UNIX variants (UNIX, Linux, OSX)
Impact:               Execute Arbitrary Code/Commands
Access:               Remote/Unauthenticated
Member content until: Friday, December 28 2007

Original Bulletin:  
  http://downloads.digium.com/pub/security/AST-2007-025.html 
  http://downloads.digium.com/pub/security/AST-2007-026.html 


OVERVIEW:

	Two vulnerabilities exist in Asterisk in various versions. The affected
        versions include:

          Asterisk Open Source
          
               1.0.x - All versions
               1.2.x - 1.2.24 and previous 
               1.4.x - 1.4.14 and previous 

          Asterisk Business Edition  

               A.x.x  - All versions 
               B.x.x  - B.2.3.3 and previous


IMPACT:

	AST-2007-025

        A remote unauthenticated vulnerability exists in res_config_pgsql which
        is exploitable via a SQL Injection attack. Input buffers are not 
        sanitised when providing the data to the Postgres Realtime Engine. 

        "An attacker could potentially compromise the administrative database  
        containing users' usernames and passwords used for SIP authentication,
        among other things." [1]  This module is not active by default.


	AST-2007-025

        A remote authenticated vulenrability exists in cdr_pgsql which can
        be exploited via a SQL Injection attack. "Input buffers were not 
        properly escaped when providing the ANI and DNIS strings to the Call
        Detail Record Postgres logging engine." [2] This module is not enabled
        by default.


MITIGATION:

        Convert your installation to use the cdr_odbc and res_config_odbc with
        PgsqlODBC driver.


RESOLUTION:	

        Upgrade to Asterisk release 1.4.15 or higher.


REFERENCES:

        [1] Asterisk Project Security Advisory - AST-2007-025
            http://downloads.digium.com/pub/security/AST-2007-025.html


        [2] Asterisk Project Security Advisory - AST-2007-026
            http://downloads.digium.com/pub/security/AST-2007-026.html


AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. The decision to
follow or act on information or advice contained in this security bulletin is
the responsibility of each user or organisation, and should be considered in
accordance with your organisation's site policies and procedures. AusCERT
takes no responsibility for consequences which may arise from following or
acting on information or advice contained in this security bulletin.

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBR09deSh9+71yA2DNAQI31QP/QbF2moxu/218pMKBSSvj8PYhVhwLhuo0
NCvVIYzSxFYOz9AYkVKqiYQawyM85hUQA6MrQKeMJsr1RsyABlIp4gbTo+xUvAVA
28rqgHfUub7k56mOfwKr9w0m13bXp/swG3BiW4jebW2hCIWubcbO/wVtxutytsXT
3tIuLTJ29lk=
=VDdC
-----END PGP SIGNATURE-----