Description
WordPress is prone to a possible SQL injection vulnerability because it fails to properly sanitize user-supplied input before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. WordPress versions 4.8.x ranging from 4.8 and up to (and including) 4.8.2 are vulnerable.
Remediation
Update to WordPress version 4.8.3 or latest, and update any plugins that override $wpdb
References
https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html
https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-background.html
http://blog.vulspy.com/2017/11/09/Wordpress-4-8-2-SQL-Injection-POC/
https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/
Related Vulnerabilities
Oracle Database Server CVE-2006-0263 Vulnerability (CVE-2006-0263)
WordPress Plugin 10Web Map Builder for Google Maps Cross-Site Scripting (1.0.69)
WordPress Plugin bbPress Cross-Site Scripting (2.5.8)
Craft CMS Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2023-30179)
WordPress Plugin Auctions 'upload.php' Arbitrary File Upload (2.0.1.3)