SQL Injection in WordPress
CVE-2017-16510
WordPress before 4.8.3 is affected by an issue where $wpdb->prepare() can create unexpected and unsafe queries leading to potential SQL injection (SQLi) in plugins and themes, as demonstrated by a "double prepare" approach, a different vulnerability than CVE-2017-14723.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.067, 94.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 8 other repositories (20142995/nuclei-templates, Afetter618/WordPress-PenTest, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d (Patch, Issue Tracking, Vendor Advisory)
- DSA-4090 (vendor-advisory)
- [debian-lts-announce] 20171104 [SECURITY] [DLA 1160-1] wordpress security update (mailing-list)
- www.securityfocus.com/bid/101638 (Third Party Advisory, VDB Entry, vdb-entry)
- wpvulndb.com/vulnerabilities/8941 (Issue Tracking, Vendor Advisory)
- codex.wordpress.org/Version_4.8.3 (Issue Tracking, Vendor Advisory)
- blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.ht… (Third Party Advisory, Issue Tracking)
- wordpress.org/news/2017/10/wordpress-4-8-3-security-release/ (Issue Tracking, Vendor Advisory)