WordPress authentication cookie security bypass

wordpress-cookie-security-bypass (42027) The risk level is classified as MediumMedium Risk

Description:

WordPress could allow a remote authenticated attacker to bypass security restrictions, caused by improper validation of the authentication cookie. By creating a specially-crafted account and authentication cookie, an attacker could exploit this vulnerability to gain administrative access and possibly launch further attacks against the system.

Platforms Affected:

  • WordPress, WordPress 2.5

Remedy:

Upgrade to the latest version of WordPress (2.5.1 or later), available from the WordPress Web site. See References.

Consequences:

Bypass Security

References:

  • Full-Disclosure Mailing List, Fri Apr 25 2008 - 11:02:35 CDT, Wordpress 2.5 Cookie Integrity Protection Vulnerability at http://archives.neohapsis.com/archives/fulldisclosure/2008-04/0696.html.
  • WordPress Web site, WordPress 2.5.1 at http://wordpress.org/development/2008/04/wordpress-251/.
  • BID-28935: WordPress Cookie Integrity Protection Unauthorized Access Vulnerability
  • CVE-2008-1930: The cookie authentication method in WordPress 2.5 relies on a hash of a concatenated string containing USERNAME and EXPIRY_TIME, which allows remote attackers to forge cookies by registering a username that results in the same concatenated string, as demonstrated by registering usernames beginning with admin to obtain administrator privileges, aka a cryptographic splicing issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2007-6013.
  • FrSIRT/ADV-2008-1372: WordPress Cookie Integrity Protection Privilege Escalation Vulnerability
  • SA29965: WordPress PHP Code Execution and Cross-Site Scripting
  • SECTRACK ID: 1019923: WordPress Authentication Cookie Integrity Flaw Lets Remote Users Gain Administrative Privileges

Reported:

Apr 25, 2008

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