CVEvulnerability

CVE-2017-1001000

7.5 HIGH Published 2017-04-03 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-04-03
Last modified
2026-06-17
Assigner
46fe6300-5254-4a98-9594-a9567bec8179
CVSS 3.0 ([email protected])
7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N

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.

Affected configurations

• wordpress wordpress 4.7 • wordpress wordpress 4.7.1 • wordpress wordpress 4.7.2

References