WordPress user profile PHP code execution

wordpress-user-profile-code-injection (26687) The risk level is classified as MediumMedium Risk

Description:

WordPress could allow a remote attacker to inject arbitrary code. A remote attacker could inject PHP code when registering or updating the user profile, which would be stored in the wp-content/cache/userlogins/ and wp-content/cache/users/ directories inside the web root.

Platforms Affected:

  • Gentoo, Linux
  • WordPress, WordPress 2.0.2

Remedy:

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

Consequences:

Gain Access

References:

  • Bugtraq Mailing List, Thu May 25 2006 - 14:01:39 CDT , Wordpress <=2.0.2 'cache' shell injection at http://archives.neohapsis.com/archives/bugtraq/2006-05/0538.html.
  • BID-18372: WordPress Username Remote PHP Code Injection Vulnerability
  • CVE-2006-2667: Direct static code injection vulnerability in WordPress 2.0.2 and earlier allows remote attackers to execute arbitrary commands by inserting a carriage return and PHP code when updating a profile, which is appended after a special comment sequence into files in (1) wp-content/cache/userlogins/ (2) wp-content/cache/users/ which are later included by cache.php, as demonstrated using the displayname argument.
  • GLSA-200606-08: WordPress: Arbitrary command execution
  • OSVDB ID: 25777: WordPress User Profile Cache Injection Arbitrary PHP Code Injection
  • SA20271: WordPress PHP Code Injection Vulnerability
  • VUPEN/ADV-2006-1992: WordPress User Profile Handling Remote PHP Command Injection Vulnerability

Reported:

May 25, 2006

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-2009 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page