CVE-2017-5611 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands in WordPress if an affected plugin or theme mishandles post type names.
- 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-5611?
CVE-2017-5611 is a critical SQL injection vulnerability in Debian Debian Linux, published on 30 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in wp-includes/class-wp-query.php in WP_Query in WordPress before 4.7.2 allows remote attackers to execute arbitrary SQL commands by leveraging the presence of an affected plugin or theme that mishandles a crafted post type name.
Weakness: CWE-89
Which versions are affected by CVE-2017-5611?
It affects 3 products.
Products include Debian Debian Linux, Oracle Data Integrator, Wordpress Wordpress.
How do I fix CVE-2017-5611?
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-5611 being exploited?
There is no known exploitation of CVE-2017-5611 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2017-5611, GHSA-r745-4v47-m5c7, UBUNTU-CVE-2017-5611.