GLSA-200804-13 : Asterisk: Multiple vulnerabilities

high Nessus Plugin ID 31960
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200804-13 (Asterisk: Multiple vulnerabilities)

Asterisk upstream developers reported multiple vulnerabilities:
The Call Detail Record Postgres logging engine (cdr_pgsql) does not correctly escape the ANI and DNIS arguments before using them in SQL statements (CVE-2007-6170).
When using database-based registrations ('realtime') and host-based authentication, Asterisk does not check the IP address when the username is correct and there is no password provided (CVE-2007-6430).
The SIP channel driver does not correctly determine if authentication is required (CVE-2008-1332).
Impact :

Remote authenticated attackers could send specially crafted data to Asterisk to execute arbitrary SQL commands and compromise the administrative database. Remote unauthenticated attackers could bypass authentication using a valid username to hijack other user's sessions, and establish sessions on the SIP channel without authentication.
Workaround :

There is no known workaround at this time.


All Asterisk users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/asterisk-1.2.27'

See Also

Plugin Details

Severity: High

ID: 31960

File Name: gentoo_GLSA-200804-13.nasl

Version: 1.18

Type: local

Published: 4/17/2008

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information


Risk Factor: Medium

Score: 5.5


Risk Factor: High

Base Score: 8.8

Temporal Score: 6.5

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:N

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:asterisk, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 4/14/2008

Vulnerability Publication Date: 11/29/2007

Reference Information

CVE: CVE-2007-6170, CVE-2007-6430, CVE-2008-1332

GLSA: 200804-13

CWE: 89, 264, 287