CVE-2007-6318

Summary

CVECVE-2007-6318
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-12-12 00:46:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionSQL 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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-89 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Wordpress Wordpress 2.0 All All All
Application Wordpress Wordpress 2.0.1 All All All
Application Wordpress Wordpress 2.0.10 All All All
Application Wordpress Wordpress 2.0.10_rc1 All All All
Application Wordpress Wordpress 2.0.10_rc2 All All All
Application Wordpress Wordpress 2.0.2 All All All
Application Wordpress Wordpress 2.0.3 All All All
Application Wordpress Wordpress 2.0.4 All All All
Application Wordpress Wordpress 2.0.5 All All All
Application Wordpress Wordpress 2.0.6 All All All
Application Wordpress Wordpress 2.0.7 All All All
Application Wordpress Wordpress 2.1.1 All All All
Application Wordpress Wordpress 2.1.2 All All All
Application Wordpress Wordpress 2.1.3 All All All
Application Wordpress Wordpress 2.1.3_rc1 All All All
Application Wordpress Wordpress 2.1.3_rc2 All All All
Application Wordpress Wordpress 2.2 All All All
Application Wordpress Wordpress 2.2.1 All All All
Application Wordpress Wordpress 2.2.2 All All All
Application Wordpress Wordpress 2.2.3 All All All
Application Wordpress Wordpress 2.2_revision5002 All All All
Application Wordpress Wordpress 2.2_revision5003 All All All
Application Wordpress Wordpress 2.3 All All All
Application Wordpress Wordpress 2.3.1 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
SecurityFocus af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[Full-disclosure] WordPress Charset SQL injection vulnerability af854a3a-2127-422b-91ae-364da2661108 lists.grok.org.uk
SecurityReason - WordPress Charset SQL injection vulnerability (re-resend) af854a3a-2127-422b-91ae-364da2661108 securityreason.com
SecurityTracker.com Archives - WordPress Input Validation Flaw in Search Function Lets Remote Users Inject SQL Commands af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
WordPress wp-db.php Character Set SQL Injection Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit
www.abelcheung.org/advisory/20071210-wordpress-charset.txt af854a3a-2127-422b-91ae-364da2661108 www.abelcheung.org Exploit
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
WordPress GBK/Big5 Character Set "s" SQL Injection - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Fedora update for wordpress - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora 8 Update: wordpress-2.3.2-1.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
[SECURITY] Fedora 7 Update: wordpress-2.3.2-1.fc7 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report