CVE-2007-6170 SQL Injection
No CVSS score yet. EPSS 2.8% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Patch: http://downloads.digium.com/pub/security/AST-2007-026.html
- Vendor advisory: http://downloads.digium.com/pub/security/AST-2007-026.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2007-6170 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-6170?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-6170?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-6170 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| digium:asterisk | from 1.2.0 before 1.2.25 |
| digium:asterisk | from 1.4.0 before 1.4.15 |
| digium:asterisk | from b.2.3.0 before b.2.3.4 |
| digium:asterisk | c.1.0:beta1 |
| digium:asterisk | c.1.0:beta2 |
| digium:asterisk | c.1.0:beta3 |
| digium:asterisk | c.1.0:beta4 |
| digium:asterisk | c.1.0:beta5 |
| debian:debian_linux | 3.1 |
| debian:debian_linux | 4.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 3.1 | asterisk | 1:1.0.7.dfsg.1-2sarge6 | DSA-1417-1 |
| Debian | 4.0 | asterisk | 1:1.2.13~dfsg-2etch2 | DSA-1417-1 |
| Debian | 14 | asterisk | 1:1.4.15~dfsg-1 | DEBIAN-CVE-2007-6170 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Attack patterns (CAPEC)
- CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
- CAPEC-66 SQL Injection Likelihood: High · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
- CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
- CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
- CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://downloads.digium.com/pub/security/AST-2007-026.html
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html
- http://secunia.com/advisories/27827
- http://secunia.com/advisories/27892
- http://secunia.com/advisories/29242
- http://secunia.com/advisories/29782
- http://security.gentoo.org/glsa/glsa-200804-13.xml
- http://securitytracker.com/id?1019020
- http://www.debian.org/security/2007/dsa-1417
- http://www.securityfocus.com/archive/1/484388/100/0/threaded
- http://www.securityfocus.com/bid/26647
- http://www.vupen.com/english/advisories/2007/4056
- https://exchange.xforce.ibmcloud.com/vulnerabilities/38765