Secunia Logo
Netsikker nu! 2008
 
Asterisk Call Detail Record Postgres SQL Injection
Secunia Advisory: SA27827
Release Date: 2007-11-30
Popularity: 8,185 views

Critical:
Less critical
Impact: Manipulation of data
Where: From remote
Solution Status: Vendor Patch

Software:Asterisk 1.x
Asterisk Business Edition 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-6170


Description:
A vulnerability has been reported in Asterisk and Asterisk Business Edition, which can be exploited by malicious users to conduct SQL injection attacks.

Input passed as ANI and DNIS strings to the Call Detail Record Postgres logging engine is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires valid user credentials and that the module is configured and used.

The vulnerability is reported in all Asterisk 1.0.x versions, all Asterisk 1.2.x versions before 1.2.25, all Asterisk 1.4.x versions before 1.4.15, all Asterisk Business Edition A.x.x versions, and in all Asterisk Business Edition B.x.x.x versions before B.2.3.4.

Solution:
Update to Asterisk 1.2.25, Asterisk 1.4.15, or Asterisk Business Edition B.2.3.4.

Use the PgsqlODBC driver instead of the vulnerable module.

Provided and/or discovered by:
Tilghman Lesher

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


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 33 views
2. CA ARCserve Backup Multiple Vulnerabilities // 27 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 25 views
4. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
5. CUPS Multiple Vulnerabilities // 22 views
6. Red Hat update for cups // 21 views
7. Built2go Real Estate Listings "event_id" SQL Injection // 20 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 20 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 19 views
10. Subdreamer Light Global Variables SQL Injection Vulnerability // 18 views