{"id":"CVE-2007-6318","aliases":["DEBIAN-CVE-2007-6318","EUVD-2007-6285","GHSA-79q4-xv4r-946x"],"status":"published","title":"SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.09156,"percentile":0.95357,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-89"],"published":"2007-12-12T00:00:00Z","modified":"2026-10-21T17:47:33Z","exploits":[{"source":"exploitdb","id":"EDB-4721","title":"WordPress Core 2.3.1 - Charset SQL Injection","type":"webapps","platform":"php","date":"2007-12-11","verified":true,"url":"https://www.exploit-db.com/exploits/4721"}],"fixes":[{"ecosystem":"Debian:12","package":"wordpress","fixed_in":["2.3.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"wordpress","fixed_in":["2.3.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"wordpress","fixed_in":["2.3.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"wordpress","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.2-1"}]}]}],"products":[{"vendor":"wordpress","product":"wordpress"}],"references":[{"url":"http://www.abelcheung.org/advisory/20071210-wordpress-charset.txt","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00098.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://www.securitytracker.com/id?1019071","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2007-December/058999.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"http://secunia.com/advisories/28005","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/26795","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","evidence"]},{"url":"http://www.securityfocus.com/archive/1/484828/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/4172","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/28310","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-January/msg00079.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://securityreason.com/securityalert/3433","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/38959","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6318"},{"url":"https://github.com/advisories/GHSA-79q4-xv4r-946x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-6318","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-6318","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.","status":"published","published":"2007-12-12T00:00:00Z","modified":"2024-08-07T16:02:36.294Z","updated_at":"2026-11-02T13:33:07.91528Z"}],"euvd":[{"id":"EUVD-2007-6285","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.","status":"published","published":"2007-12-12T00:00:00Z","modified":"2024-08-07T16:02:36Z","updated_at":"2026-11-03T01:16:13.338969Z"}],"ghsa":[{"id":"GHSA-79q4-xv4r-946x","title":"SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote...","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.","status":"published","published":"2022-05-01T18:41:39Z","modified":"2023-01-31T05:05:38Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:48:53.375258Z"}],"nvd":[{"id":"CVE-2007-6318","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.","status":"published","published":"2007-12-12T00:46:00Z","modified":"2026-06-16T22:47:49.197Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:01:23.208914Z"}],"osv":[{"id":"CVE-2007-6318","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.","status":"published","published":"2007-12-12T00:46:00Z","modified":"2026-04-10T03:39:23.967873Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2007-6318","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.","status":"published","published":"2007-12-12T00:46:00Z","modified":"2026-10-21T17:47:33.874483532Z","updated_at":"2026-11-02T15:45:23.411908Z"}]}}
