cbcvebase.
CVE-2017-1001000
published 2017-04-03

CVE-2017-1001000: 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…

PriorityP183high7.5CVSS 3.0
AVNACLPRNUINSUCNIHAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
81.85%
99.6th percentile
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

8 ranges
VendorProductVersion rangeFixed in
debianwordpress< wordpress 4.7.2+dfsg-1 (bookworm)wordpress 4.7.2+dfsg-1 (bookworm)
wordpresswordpress
wordpresswordpress
wordpresswordpress
wordpresswordpress>= 0 < 4.7.2+dfsg-14.7.2+dfsg-1
wordpresswordpress>= 0 < 4.7.2+dfsg-14.7.2+dfsg-1
wordpresswordpress>= 0 < 4.7.2+dfsg-14.7.2+dfsg-1
wordpresswordpress>= 0 < 4.7.2+dfsg-14.7.2+dfsg-1

Detection & IOCsextracted from sources · hover to see the quote

urlwp-json/wp/v2/posts/123?id=123helloworld
pathwp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
urlwp-json/wp/v2/posts
  • Detect exploitation attempts by monitoring HTTP requests to the WordPress REST API endpoint where the post ID parameter contains a non-integer suffix (numeric value concatenated with non-numeric characters), e.g. matching pattern /wp-json/wp/v2/posts/[0-9]+\?id=[0-9]+[a-zA-Z]+
  • The Metasploit auxiliary module 'scanner/http/wordpress_content_injection' can be used to detect vulnerable WordPress instances (4.7 and 4.7.1) via type juggling in the REST API
  • ·Vulnerability only affects WordPress versions 4.7.x before 4.7.2; fixed in 4.7.2+dfsg-1 on Debian (bookworm, bullseye, sid, trixie, forky)

CVSS provenance

nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:N
osv7.5HIGH
vulncheck7.5HIGH
vendor_debian7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.