Asterisk cdr_pgsql module SQL injection
| asterisk-cdrpqsql-sql-injection (38765) |
Description:
Asterisk is vulnerable to SQL injection. A remote attacker could send specially-crafted SQL statements to the cdr_pgsql module using the ANI and DNIS strings, which could allow the attacker to view, add, modify or delete information in the back-end database.
Note: In order to exploit this vulnerability, the administrator must configure the cdr_pgsql module.
Platforms Affected:
- Debian, Debian Linux 3.1
- Debian, Debian Linux 4.0
- Digium, Asterisk Appliance Developer Kit 0.x.x
- Digium, Asterisk Business Edition A.x.x
- Digium, Asterisk Business Edition B.x.x
- Digium, Asterisk Business Edition C.x.x
- Digium, Asterisk Open Source 1.0.0
- Digium, Asterisk Open Source 1.2.x
- Digium, Asterisk Open Source 1.4.x
- Digium, AsteriskNOW pre-release
- Digium, s800i 1.0.x
- Gentoo, Linux
Remedy:
Refer to AST-2007-026 for patch, upgrade, or suggested workaround information. See References.
Consequences:
Data Manipulation
References:
- AST-2007-026, SQL Injection issue in cdr_pgsql at http://www.asterisk.org/node/48432.
- BID-26647: Asterisk CDR_PGSQL SQL Injection Vulnerability
- CVE-2007-6170: SQL injection vulnerability in the Call Detail Record Postgres logging engine (cdr_pgsql) in Asterisk 1.4.x before 1.4.15, 1.2.x before 1.2.25, B.x before B.2.3.4, and C.x before C.1.0-beta6 allows remote authenticated users to execute arbitrary SQL commands via (1) ANI and (2) DNIS arguments.
- DSA-1417: asterisk -- missing input sanitising
- FrSIRT/ADV-2007-4056: Asterisk Call Detail Record Postgres Logging SQL Injection Vulnerability
- GLSA-200804-13: Asterisk: Multiple vulnerabilities
- SA27827: Asterisk Call Detail Record Postgres SQL Injection
- SECTRACK ID: 1019020: Asterisk Input Validation Flaw in cdr_pgsql Lets Remote Users Inject SQL Commands
- SUSE-SR:2008:005: SUSE Security Summary Report
Reported:
Nov 29, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
