WordPress Core < 4.7.2 - Arbitrary Page Modification

Improper Authorization
CVE CVE-2017-1001000
CVSS High (7.3)
Publicly Published January 26, 2017
Last Updated January 22, 2024
Researcher Marc-Alexandre Montpas
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.

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.7
  • 3.7 - 3.7.17
  • 3.8 - 3.8.17
  • 3.9 - 3.9.15
  • 4.0 - 4.0.14
  • 4.1 - 4.1.14
  • 4.2 - 4.2.11
  • 4.3 - 4.3.7
  • 4.4 - 4.4.6
  • 4.5 - 4.5.5
  • 4.6 - 4.6.2
  • 4.7 - 4.7.1
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
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.