CVE-2017-16510 SQL injection in n/a
WordPress core flaw allows SQL injection via unsafe query preparation, enabling attackers to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-16510?
CVE-2017-16510 is a critical SQL injection vulnerability in Wordpress Wordpress, published on 2 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-89
Which versions are affected by CVE-2017-16510?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2017-16510?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2017-16510 being exploited?
There is no known exploitation of CVE-2017-16510 in the wild and no public exploit code.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as CVE-2017-0908, DEBIAN-CVE-2017-16510, DLA-1160-1, GHSA-4cxp-jjp3-3qpw, UBUNTU-CVE-2017-16510.