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.
*CVSS:
| Base Score: | 7.5 |
| Access Vector: | Network |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 6.5 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Data Manipulation
Remedy:
Refer to AST-2007-026 for patch, upgrade, or suggested workaround information. See References.
References:
- AST-2007-026: SQL Injection issue in cdr_pgsql.
- 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
- 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
- VUPEN/ADV-2007-4056: Asterisk Call Detail Record Postgres Logging SQL Injection Vulnerability
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
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 (IBM 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.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
