Description
The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in the REST API in WordPress 4.7.x before 4.7.2 does not require an integer identifier, which allows remote attackers to modify arbitrary pages via a request for wp-json/wp/v2/posts followed by a numeric value and a non-numeric value, as demonstrated by the wp-json/wp/v2/posts/123?id=123helloworld URI.
Remediation
References
Related Vulnerabilities
MySQL CVE-2016-0659 Vulnerability (CVE-2016-0659)
WordPress Permissions, Privileges, and Access Controls Vulnerability (CVE-2015-5715)
Oracle Database Server CVE-2010-0853 Vulnerability (CVE-2010-0853)
WordPress Plugin WP Google Maps Cross-Site Scripting (7.11.34)
SugarCRM Unrestricted Upload of File with Dangerous Type Vulnerability (CVE-2023-46815)