{"api_version":"1","generated_at":"2026-07-23T07:41:41+00:00","cve":"CVE-2007-6170","urls":{"html":"https://cve.report/CVE-2007-6170","api":"https://cve.report/api/cve/CVE-2007-6170.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-6170","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-6170"},"summary":{"title":"CVE-2007-6170","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-11-30 01:46:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-89","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.5","severity":"","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.securityfocus.com/bid/26647","name":"http://www.securityfocus.com/bid/26647","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Asterisk CDR_PGSQL SQL Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://secunia.com/advisories/29242","name":"http://secunia.com/advisories/29242","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"SUSE Update for Multiple Packages - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/484388/100/0/threaded","name":"http://www.securityfocus.com/archive/1/484388/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securitytracker.com/id?1019020","name":"http://securitytracker.com/id?1019020","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Asterisk Input Validation Flaw in cdr_pgsql Lets Remote Users Inject SQL Commands - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html","name":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[security-announce] SUSE Security Summary Report SUSE-SR:2008:005","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/27827","name":"http://secunia.com/advisories/27827","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Asterisk Call Detail Record Postgres SQL Injection - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/27892","name":"http://secunia.com/advisories/27892","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian update for asterisk - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/4056","name":"http://www.vupen.com/english/advisories/2007/4056","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://downloads.digium.com/pub/security/AST-2007-026.html","name":"http://downloads.digium.com/pub/security/AST-2007-026.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"AST-2007-026","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29782","name":"http://secunia.com/advisories/29782","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo update for asterisk - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38765","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38765","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200804-13.xml","name":"http://security.gentoo.org/glsa/glsa-200804-13.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Asterisk: Multiple vulnerabilities — Gentoo Linux Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2007/dsa-1417","name":"http://www.debian.org/security/2007/dsa-1417","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-1417-1 asterisk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-6170","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6170","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"6170","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"digium","cpe5":"asterisk","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T15:54:26.987Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"29782","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29782"},{"name":"GLSA-200804-13","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200804-13.xml"},{"name":"29242","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29242"},{"name":"27892","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27892"},{"name":"20071129 AST-2007-026 - SQL Injection issue in cdr_pgsql","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/484388/100/0/threaded"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://downloads.digium.com/pub/security/AST-2007-026.html"},{"name":"SUSE-SR:2008:005","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html"},{"name":"1019020","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://securitytracker.com/id?1019020"},{"name":"26647","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/26647"},{"name":"DSA-1417","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2007/dsa-1417"},{"name":"27827","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/27827"},{"name":"asterisk-cdrpqsql-sql-injection(38765)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38765"},{"name":"ADV-2007-4056","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/4056"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-11-29T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-15T20:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"29782","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29782"},{"name":"GLSA-200804-13","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200804-13.xml"},{"name":"29242","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29242"},{"name":"27892","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27892"},{"name":"20071129 AST-2007-026 - SQL Injection issue in cdr_pgsql","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/484388/100/0/threaded"},{"tags":["x_refsource_CONFIRM"],"url":"http://downloads.digium.com/pub/security/AST-2007-026.html"},{"name":"SUSE-SR:2008:005","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html"},{"name":"1019020","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://securitytracker.com/id?1019020"},{"name":"26647","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/26647"},{"name":"DSA-1417","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2007/dsa-1417"},{"name":"27827","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/27827"},{"name":"asterisk-cdrpqsql-sql-injection(38765)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38765"},{"name":"ADV-2007-4056","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/4056"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-6170","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"29782","refsource":"SECUNIA","url":"http://secunia.com/advisories/29782"},{"name":"GLSA-200804-13","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200804-13.xml"},{"name":"29242","refsource":"SECUNIA","url":"http://secunia.com/advisories/29242"},{"name":"27892","refsource":"SECUNIA","url":"http://secunia.com/advisories/27892"},{"name":"20071129 AST-2007-026 - SQL Injection issue in cdr_pgsql","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/484388/100/0/threaded"},{"name":"http://downloads.digium.com/pub/security/AST-2007-026.html","refsource":"CONFIRM","url":"http://downloads.digium.com/pub/security/AST-2007-026.html"},{"name":"SUSE-SR:2008:005","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.html"},{"name":"1019020","refsource":"SECTRACK","url":"http://securitytracker.com/id?1019020"},{"name":"26647","refsource":"BID","url":"http://www.securityfocus.com/bid/26647"},{"name":"DSA-1417","refsource":"DEBIAN","url":"http://www.debian.org/security/2007/dsa-1417"},{"name":"27827","refsource":"SECUNIA","url":"http://secunia.com/advisories/27827"},{"name":"asterisk-cdrpqsql-sql-injection(38765)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38765"},{"name":"ADV-2007-4056","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/4056"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-6170","datePublished":"2007-11-30T01:00:00.000Z","dateReserved":"2007-11-29T00:00:00.000Z","dateUpdated":"2024-08-07T15:54:26.987Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-11-30 01:46:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-89","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*","versionStartIncluding":"1.2.0","versionEndExcluding":"1.2.25","matchCriteriaId":"5B9D3734-ECE5-4A33-AFE2-1EAD07B997A5"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:*:*:*:*:*:*:*:*","versionStartIncluding":"1.4.0","versionEndExcluding":"1.4.15","matchCriteriaId":"509EE4B3-B44A-446F-B1B5-476A8BE0F4D6"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:*:*:*:*:business:*:*:*","versionStartIncluding":"b.2.3.0","versionEndExcluding":"b.2.3.4","matchCriteriaId":"DEF6C31E-6C5C-4CBA-B6D7-593C1292AF65"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:c.1.0:beta1:*:*:business:*:*:*","matchCriteriaId":"5B85E573-3A3A-471F-906D-8A262315D0CC"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:c.1.0:beta2:*:*:business:*:*:*","matchCriteriaId":"65963B39-845B-47D9-A1BD-6ABBA160EF05"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:c.1.0:beta3:*:*:business:*:*:*","matchCriteriaId":"4015BA36-F972-434D-8DA0-4ECE9992275A"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:c.1.0:beta4:*:*:business:*:*:*","matchCriteriaId":"587B6E6C-11C5-4721-B0F3-77E77B1C65A7"},{"vulnerable":true,"criteria":"cpe:2.3:a:digium:asterisk:c.1.0:beta5:*:*:business:*:*:*","matchCriteriaId":"E4160773-6EA9-4339-9DD1-28D4EE591830"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*","matchCriteriaId":"A2E0C1F8-31F5-4F61-9DF7-E49B43D3C873"},{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*","matchCriteriaId":"0F92AB32-E7DE-43F4-B877-1F41FA162EC7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"6170","Ordinal":"1","Title":"CVE-2007-6170","CVE":"CVE-2007-6170","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"6170","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2007-6170"},{"CveYear":"2007","CveId":"6170","Ordinal":"2","NoteData":"2007-11-29","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"6170","Ordinal":"3","NoteData":"2018-10-15","Type":"Other","Title":"Modified"}]}}}