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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Wordpress | Wordpress | 4.7 (including) | 4.7 (including) |
Wordpress | Wordpress | 4.7.1 (including) | 4.7.1 (including) |
Wordpress | Wordpress | 4.7.2 (including) | 4.7.2 (including) |
Wordpress | Ubuntu | upstream | * |