SQL Injection in WordPress
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.092, 95.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- WordPress — versions 2.0, 2.0.1, 2.0.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (20142995/nuclei-templates). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.abelcheung.org/advisory/20071210-wordpress-charset.txt (Exploit)
- FEDORA-2008-0126 (vendor-advisory)
- www.securitytracker.com/id (vdb-entry)
- 20071210 WordPress Charset SQL injection vulnerability (re-resend) (mailing-list)
- secunia.com/advisories/28005 (third-party-advisory, Vendor Advisory)
- www.securityfocus.com/bid/26795 (Exploit, vdb-entry)
- 20071210 WordPress Charset SQL injection vulnerability (re-resend) (mailing-list)
- ADV-2007-4172 (vdb-entry)
- secunia.com/advisories/28310 (third-party-advisory)
- FEDORA-2008-0103 (vendor-advisory)