Asterisk database-based registration security bypass

asterisk-registration-security-bypass (39124) The risk level is classified as MediumMedium Risk

Description:

Asterisk could allow a remote attacker to bypass security restrictions, caused by the failure to check IP addresses when processing a "realtime" database-based registration. By guessing the username of the victim, a remote attacker could exploit this vulnerability to bypass security restrictions and assume the identity of any user that depends on host-based authentication without a password.

Platforms Affected:

  • Debian, Debian Linux 4.0
  • Digium, Asterisk Business Edition B.x.x prior to B.2.3.6
  • Digium, Asterisk Business Edition C.x.x prior to C.1.0-b8
  • Digium, Asterisk Open Source 1.2.x prior to 1.2.26
  • Digium, Asterisk Open Source 1.4.x prior to 1.4.16
  • Gentoo, Linux

Remedy:

Refer to AST-2007-027 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Bypass Security

References:

  • AST-2007-027, Database matching order permits host-based authentication to be ignored at http://downloads.digium.com/pub/security/AST-2007-027.pdf.
  • BID-26928: Asterisk Host-Based Authentication Security Bypass Vulnerability
  • CVE-2007-6430: Asterisk Open Source 1.2.x before 1.2.26 and 1.4.x before 1.4.16, and Business Edition B.x.x before B.2.3.6 and C.x.x before C.1.0-beta8, when using database-based registrations (realtime) and host-based authentication, does not check the IP address when the username is correct and there is no password, which allows remote attackers to bypass authentication using a valid username.
  • DSA-1525: asterisk -- several vulnerabilities
  • FrSIRT/ADV-2007-4260: Asterisk Database Registrations Authentication Bypass Vulnerability
  • GLSA-200804-13: Asterisk: Multiple vulnerabilities
  • SA28149: Asterisk Registration Database Security Bypass
  • SECTRACK ID: 1019110: Asterisk Lets Remote Users Bypass Host-based Access Controls in Certain Cases
  • SUSE-SR:2008:005: SUSE Security Summary Report

Reported:

Dec 18, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page