CVE-2017-1001000
published 2017-04-03CVE-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
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | wordpress | < wordpress 4.7.2+dfsg-1 (bookworm) | wordpress 4.7.2+dfsg-1 (bookworm) |
| wordpress | wordpress | — | — |
| wordpress | wordpress | — | — |
| wordpress | wordpress | — | — |
| wordpress | wordpress | >= 0 < 4.7.2+dfsg-1 | 4.7.2+dfsg-1 |
| wordpress | wordpress | >= 0 < 4.7.2+dfsg-1 | 4.7.2+dfsg-1 |
| wordpress | wordpress | >= 0 < 4.7.2+dfsg-1 | 4.7.2+dfsg-1 |
| wordpress | wordpress | >= 0 < 4.7.2+dfsg-1 | 4.7.2+dfsg-1 |
Detection & IOCsextracted from sources · hover to see the quote
- →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.
GHSA
GHSA-qm68-r9p4-ghhx: The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller
ghsa_unreviewed·2022-05-13
CVE-2017-1001000 [HIGH] GHSA-qm68-r9p4-ghhx: The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller
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.
OSV
CVE-2017-1001000: The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller
osv·2017-04-03·CVSS 7.5
CVE-2017-1001000 [HIGH] CVE-2017-1001000: The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller
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.
VulnCheck
WordPress REST API register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php Vulnerability
vulncheck·2017·CVSS 7.5
CVE-2017-1001000 [HIGH] WordPress REST API register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php Vulnerability
WordPress REST API register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php Vulnerability
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: WordPress wordpress
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://go.catonetworks.com/rs/245-RJK-441/images/Securi
Debian
CVE-2017-1001000: wordpress - The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-pos...
vendor_debian·2017·CVSS 7.5
CVE-2017-1001000 [HIGH] CVE-2017-1001000: wordpress - The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-pos...
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.
Scope: local
bookworm: resolved (fixed in 4.7.2+dfsg-1)
bullseye: resolved (fixed in 4.7.2+dfsg-1)
forky: resolved (fixed in 4.7.2+dfsg-1)
sid: resolved (fixed in 4.7.2+dfsg-1)
trixie: resolved (fixed in 4.7.2+dfsg-1)
No detection rules found.
http://www.openwall.com/lists/oss-security/2017/02/10/16http://www.securitytracker.com/id/1037731https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.htmlhttps://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.htmlhttps://codex.wordpress.org/Version_4.7.2https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762abhttps://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/http://www.openwall.com/lists/oss-security/2017/02/10/16http://www.securitytracker.com/id/1037731https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.htmlhttps://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.htmlhttps://codex.wordpress.org/Version_4.7.2https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762abhttps://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/
2017-04-03
Published
Exploited in the wild