WordPress GBK or Big5 character sets SQL injection
|wordpress-gbk-big5-sql-injection (38959)||Medium Risk|
WordPress is vulnerable to SQL injection. If "exact" and "sentence" are enabled, a remote attacker with knowledge of the database table prefix could send specially-crafted SQL statements to the index.php script using the "s" parameter. If DB_CHARSET in the wp-config.php script is set to the GBK or Big5 character set, an attacker could exploit this vulnerability to view, add, modify or delete information in the back-end database.
Upgrade to the latest version of WordPress (2.5 or later), available from the WordPress Web site. See References.
- Full-Disclosure Mailing List, Tue, 11 Dec 2007 02:58:10 +0800: WordPress Charset SQL injection vulnerability (resend).
- SecuriTeam Mailing List, 11 Dec. 2007: WordPress Charset SQL injection vulnerability.
- WordPress Web site: WordPress.
- BID-26795: WordPress wp-db.php Character Set SQL Injection Vulnerability
- CVE-2007-6318: SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote attackers to execute arbitrary SQL commands via the s parameter, when DB_CHARSET is set to (1) Big5, (2) GBK, or possibly other character set encodings that support a \ in a multibyte character.
- OSVDB ID: 39552: WordPress wp-includes/query.php s Parameter SQL Injection
- SA28005: WordPress GBK/Big5 Character Set "s" SQL Injection
- SECTRACK ID: 1019071: WordPress Input Validation Flaw in Search Function Lets Remote Users Inject SQL Commands
- WordPress WordPress 2.2 - 2.3.1
Dec 10, 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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.