CVE-2017-16510
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 6.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 6.7% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 6.7% · EPSS, next 30 days
- Weakness
- CWE-89 · SQL injection
- Record status
- Modified
Affected
- WordPress ≤ 4.8.2
Attack profile CVSS 3.0 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2017-16510.md and follow it. Check whether this project is affected by CVE-2017-16510. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://codex.wordpress.org/Version_4.8.3
- https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d
- https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/
- https://wpvulndb.com/vulnerabilities/8941
- https://codex.wordpress.org/Version_4.8.3
- https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d
- https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/
- https://wpvulndb.com/vulnerabilities/8941
References
- http://www.securityfocus.com/bid/101638
- https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html
- https://codex.wordpress.org/Version_4.8.3
- https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d
- https://lists.debian.org/debian-lts-announce/2017/11/msg00003.html
- https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/
- https://wpvulndb.com/vulnerabilities/8941
- https://www.debian.org/security/2018/dsa-4090
- http://www.securityfocus.com/bid/101638
- https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html
- https://codex.wordpress.org/Version_4.8.3
- https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d
- https://lists.debian.org/debian-lts-announce/2017/11/msg00003.html
- https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/
- https://wpvulndb.com/vulnerabilities/8941
- https://www.debian.org/security/2018/dsa-4090