Joined: 12 May 2004
|Posted: Mon Apr 14, 2008 11:26 pm Post subject: [ GLSA 200804-13 ] Asterisk: Multiple vulnerabilities
|Gentoo Linux Security Advisory
Title: Asterisk: Multiple vulnerabilities (GLSA 200804-13)
Date: April 14, 2008
Bug(s): #200792, #202733, #213883
Multiple vulnerabilities have been found in Asterisk allowing for SQL injection, session hijacking and unauthorized usage.
Asterisk is an open source telephony engine and tool kit.
Vulnerable: < 1.2.27
Unaffected: >= 1.2.27
Architectures: All supported architectures
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).
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.
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"