Vulnerability Name:

CVE-2007-6170 (CCN-38765)

Assigned:2007-11-29
Published:2007-11-29
Updated:2018-10-26
Summary: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.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:6.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
5.7 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
6.5 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-89
Vulnerability Consequences:Data Manipulation
References:Source: MITRE
Type: CNA
CVE-2007-6170

Source: CONFIRM
Type: Patch, Vendor Advisory
http://downloads.digium.com/pub/security/AST-2007-026.html

Source: SUSE
Type: Third Party Advisory
SUSE-SR:2008:005

Source: CCN
Type: SA27827
Asterisk Call Detail Record Postgres SQL Injection

Source: SECUNIA
Type: Third Party Advisory
27827

Source: SECUNIA
Type: Third Party Advisory
27892

Source: SECUNIA
Type: Third Party Advisory
29242

Source: SECUNIA
Type: Third Party Advisory
29782

Source: GENTOO
Type: Third Party Advisory
GLSA-200804-13

Source: CCN
Type: SECTRACK ID: 1019020
Asterisk Input Validation Flaw in cdr_pgsql Lets Remote Users Inject SQL Commands

Source: SECTRACK
Type: Third Party Advisory, VDB Entry
1019020

Source: CCN
Type: AST-2007-026
SQL Injection issue in cdr_pgsql

Source: DEBIAN
Type: Third Party Advisory
DSA-1417

Source: DEBIAN
Type: DSA-1417
asterisk -- missing input sanitising

Source: CCN
Type: GLSA-200804-13
Asterisk: Multiple vulnerabilities

Source: CCN
Type: OSVDB ID: 38932
Asterisk Call Detail Record Postgres Multiple Strings SQL Injection

Source: BUGTRAQ
Type: Third Party Advisory, VDB Entry
20071129 AST-2007-026 - SQL Injection issue in cdr_pgsql

Source: BID
Type: Third Party Advisory, VDB Entry
26647

Source: CCN
Type: BID-26647
Asterisk CDR_PGSQL SQL Injection Vulnerability

Source: VUPEN
Type: Third Party Advisory
ADV-2007-4056

Source: XF
Type: Third Party Advisory, VDB Entry
asterisk-cdrpqsql-sql-injection(38765)

Source: XF
Type: UNKNOWN
asterisk-cdrpqsql-sql-injection(38765)

Source: SUSE
Type: SUSE-SR:2008:005
SUSE Security Summary Report

Vulnerable Configuration:Configuration 1:
  • cpe:/a:digium:asterisk:*:*:*:*:*:*:*:* (Version >= 1.2.0 and < 1.2.25)
  • OR cpe:/a:digium:asterisk:*:*:*:*:*:*:*:* (Version >= 1.4.0 and < 1.4.15)
  • OR cpe:/a:digium:asterisk:*:*:*:*:business:*:*:* (Version >= b.2.3.0 and < b.2.3.4)
  • OR cpe:/a:digium:asterisk:c.1.0:beta1:*:*:business:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.0:beta2:*:*:business:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.0:beta3:*:*:business:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.0:beta4:*:*:business:*:*:*
  • OR cpe:/a:digium:asterisk:c.1.0:beta5:*:*:business:*:*:*

  • Configuration 2:
  • cpe:/o:debian:debian_linux:3.1:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:4.0:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:digium:asterisknow_pre-release:beta6:*:*:*:*:*:*:*
  • AND
  • cpe:/o:gentoo:linux:*:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:3.1:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:4.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20076170
    V
    CVE-2007-6170
    2015-11-16
    oval:org.mitre.oval:def:18041
    P
    DSA-1417-1 asterisk - SQL injection
    2014-06-23
    oval:org.debian:def:1417
    V
    missing input sanitising
    2007-12-02
    BACK
    digium asterisk *
    digium asterisk *
    digium asterisk *
    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
    digium asterisknow pre-release beta6
    gentoo linux *
    debian debian linux 3.1
    debian debian linux 4.0