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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
http://www.abelcheung.org/advisory/20071210-wordpress-charset.txt | exploit |
https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00098.html | vendor advisory |
http://www.securitytracker.com/id?1019071 | vdb entry |
http://lists.grok.org.uk/pipermail/full-disclosure/2007-December/058999.html | mailing list |
http://secunia.com/advisories/28005 | third party advisory vendor advisory |
http://www.securityfocus.com/bid/26795 | vdb entry exploit |
http://www.securityfocus.com/archive/1/484828/100/0/threaded | mailing list |
http://www.vupen.com/english/advisories/2007/4172 | vdb entry |
http://secunia.com/advisories/28310 | third party advisory |
https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00079.html | vendor advisory |
http://securityreason.com/securityalert/3433 | third party advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/38959 | vdb entry |