SQL injection in WordPress - CVE-2017-5611

 

SQL injection in WordPress - CVE-2017-5611

Published: January 30, 2017 / Updated: January 30, 2017


Vulnerability identifier: #VU5509
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-5611
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: WordPress.ORG
Affected software:
WordPress

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary SQL commands in database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can send specially crafted HTTP POST request to "wp-includes/class-wp-query.php" script, pass malformed WP_Query to an affected plugin or theme and execute arbitrary SQL commands in web application database.

Successful exploitation of the vulnerability may allow an attacker to gain complete control over vulnerable website.


How to mitigate CVE-2017-5611

Update to version 4.7.2

Sources