Secunia Security Advisory - Abel Cheung has discovered a vulnerability in WordPress, which can be exploited by malicious people to conduct SQL injection attacks.
5c0229faf4889a16666da43cf6af266d8bde47c78944757591b74a761b4b3684
----------------------------------------------------------------------
2003: 2,700 advisories published
2004: 3,100 advisories published
2005: 4,600 advisories published
2006: 5,300 advisories published
How do you know which Secunia advisories are important to you?
The Secunia Vulnerability Intelligence Solutions allows you to filter
and structure all the information you need, so you can address issues
effectively.
Get a free trial of the Secunia Vulnerability Intelligence Solutions:
http://corporate.secunia.com/how_to_buy/38/vi/?ref=secadv
----------------------------------------------------------------------
TITLE:
WordPress GBK/Big5 Character Set "s" SQL Injection
SECUNIA ADVISORY ID:
SA28005
VERIFY ADVISORY:
http://secunia.com/advisories/28005/
CRITICAL:
Less critical
IMPACT:
Manipulation of data, Exposure of sensitive information
WHERE:
>From remote
SOFTWARE:
WordPress 2.x
http://secunia.com/product/6745/
DESCRIPTION:
Abel Cheung has discovered a vulnerability in WordPress, which can be
exploited by malicious people to conduct SQL injection attacks.
Input passed to the "s" parameter in index.php (when "exact" and
"sentence" are set to "1") is not properly sanitised before being
used in SQL queries. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL code.
Successful exploitation allows e.g. retrieving administrator password
hashes, but requires knowledge of the database table prefix and that
"DB_CHARSET" in wp-config.php is set to "GBK" or "Big5".
The vulnerability is confirmed in version 2.3.1 and reported in the
previous versions down to and including 2.2.
SOLUTION:
Edit the source code to ensure that input is properly sanitised. Do
not use the vulnerable character sets.
PROVIDED AND/OR DISCOVERED BY:
Abel Cheung
ORIGINAL ADVISORY:
http://www.abelcheung.org/advisory/20071210-wordpress-charset.txt
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------