CVE-2007-6318: WordPress - SQL Injection
- Cve: CVE-2007-6318
- Name: WordPress - SQL Injection
- Description: 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.
- Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
- Remediation: Update to the latest version of WordPress.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.8
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
- Epss score: 0.09156
- Epss percentile: 0.95448
- Assignee: [email protected]
- Published at: 2007-12-12T00:46:00Z
- Age in days: 6922
- Modified at: 2026-06-16T22:47:49Z
- Public exploits total: 2
- References total: 12
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2007-6318
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.abelcheung.org/advisory/20071210-wordpress-charset.txt | nvd | 2007-12-12 |
| http://www.securityfocus.com/bid/26795 | nvd | 2007-12-12 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| wordpress:wordpress | = 2.2_revision5003, = 2.2_revision5002, = 2.3.1, = 2.3, = 2.2.3, = 2.2.2, = 2.2.1, = 2.2, = 2.1.3, = 2.1.3_rc1, = 2.1.3_rc2, = 2.1.2, = 2.1.1, = 2.0.10, = 2.0.10_rc1, = 2.0.10_rc2, = 2.0.7, = 2.0.6, = 2.0.5, = 2.0.4, = 2.0.3, = 2.0.2, = 2.0.1, = 2.0 | no | nvd | /v1/products/wordpress/wordpress |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2007-12-12
- Remote: yes
- Exposed hosts: 3144143
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports