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 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.
What to do
Likely to be exploited: EPSS gives a 84% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | wordpress | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | wordpress | Not affected vulnerable_code_not_present | ||
| Debian 14 | wordpress | Fixed | 4.7.2+dfsg-1 | DEBIAN-CVE-2017-1001000 |
| Debian 13 | wordpress | Fixed | 4.7.2+dfsg-1 | DEBIAN-CVE-2017-1001000 |
| Debian 12 | wordpress | Fixed | 4.7.2+dfsg-1 | DEBIAN-CVE-2017-1001000 |
References
- https://codex.wordpress.org/Version_4.7.2
- https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/
- https://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.html
- https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762ab
- https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html
- https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7
- https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/
- http://www.openwall.com/lists/oss-security/2017/02/10/16
- http://www.securitytracker.com/id/1037731
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.