WordPress mbstring extension security bypass

wordpress-mbstring-security-bypass (31297) The risk level is classified as MediumMedium Risk

Description:

WordPress could allow a remote attacker to bypass security restrictions, caused by a vulnerability in different charset trackbacks. If PHP's mbstring extension is enabled, a remote attacker could bypass SQL parameter escaping and perform SQL injection attacks which could allow the attacker to view, add, modify or delete information in the back-end database.

Platforms Affected:

  • Gentoo, Linux
  • OpenPKG, OpenPKG 2-STABLE
  • OpenPKG, OpenPKG CURRENT
  • WordPress, WordPress prior to 2.06

Remedy:

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

For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2007.005 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200701-10 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Bypass Security

References:

  • Full-Disclosure Mailing List, Fri Jan 05 2007 - 09:14:07 CST, WordPress Trackback Charset Decoding SQL Injection Vulnerability at http://archives.neohapsis.com/archives/fulldisclosure/2007-01/0125.html.
  • WordPress Web site, WordPress > Download at http://wordpress.org/download/.
  • BID-21907: WordPress Charset Decoding SQL Injection Vulnerability
  • CVE-2007-0107: WordPress before 2.0.6, when mbstring is enabled for PHP, decodes alternate character sets after escaping the SQL query, which allows remote attackers to bypass SQL injection protection schemes and execute arbitrary SQL commands via multibyte charsets, as demonstrated using UTF-7.
  • GLSA-200701-10: WordPress: Multiple vulnerabilities
  • OpenPKG-SA-2007.005: WordPress
  • SA23595: Wordpress SQL Injection and Cross-Site Scripting Vulnerabilities
  • VUPEN/ADV-2007-0061: WordPress Trackback Charset SQL Injection and Admin Cross Site Scripting Vulnerabilities

Reported:

Jan 05, 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 (IBM 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.

For corrections or additions please email xforce@iss.net

Return to the main page