cve.bz

CVE-2007-6170 SQL Injection

no score yetEPSS 2.8%Fix available

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

Ask an AI about this CVE

Show the promptExplain 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.

ProductAffected
digium:asteriskfrom 1.2.0 before 1.2.25
digium:asteriskfrom 1.4.0 before 1.4.15
digium:asteriskfrom b.2.3.0 before b.2.3.4
digium:asteriskc.1.0:beta1
digium:asteriskc.1.0:beta2
digium:asteriskc.1.0:beta3
digium:asteriskc.1.0:beta4
digium:asteriskc.1.0:beta5
debian:debian_linux3.1
debian:debian_linux4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.1asterisk1:1.0.7.dfsg.1-2sarge6DSA-1417-1
Debian4.0asterisk1:1.2.13~dfsg-2etch2DSA-1417-1
Debian14asterisk1:1.4.15~dfsg-1DEBIAN-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

Check your stackJSON