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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/95816 | vdb entry third party advisory |
http://www.debian.org/security/2017/dsa-3779 | third party advisory vendor advisory |
http://www.openwall.com/lists/oss-security/2017/01/28/5 | mailing list third party advisory patch |
http://www.securitytracker.com/id/1037731 | vdb entry third party advisory |
https://www.oracle.com/security-alerts/cpujan2021.html | third party advisory |
https://codex.wordpress.org/Version_4.7.2 | release notes vendor advisory |
https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/ | patch vendor advisory |
https://github.com/WordPress/WordPress/commit/85384297a60900004e27e417eac56d24267054cb | third party advisory patch |
https://wpvulndb.com/vulnerabilities/8730 | third party advisory patch |