WordPress Core < 4.7.2 - Arbitrary Page Modification

2017-01-26 00:00
Marc-Alexandre Montpas

Strategic Overview

Status
Patched in 3.7.18
Affected CoreWordPress 4.7
Affected Version3.7 – 4.7.1 · 12 branches
CVSS7.3High
CVECVE-2017-1001000
View all WordPress 4.7 vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to one of the following versions, or a newer patched version: 3.7.18, 3.8.18, 3.9.16, 4.0.15, 4.1.15, 4.2.12, 4.3.8, 4.4.7, 4.5.6, 4.6.3, 4.7.2 --- IDENTIFIER: CWE-285 (Improper Authorization) The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C