Name | CVE-2017-1001000 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
wordpress (PTS) | jessie, jessie (lts) | 4.1.35+dfsg-0+deb8u1 | fixed |
| stretch (security), stretch (lts), stretch | 4.7.23+dfsg-0+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 5.0.21+dfsg1-0+deb10u1 | fixed |
| bullseye (security), bullseye | 5.7.11+dfsg1-0+deb11u1 | fixed |
| bookworm (security), bookworm | 6.1.6+dfsg1-0+deb12u1 | fixed |
| sid, trixie | 6.6.1+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
wordpress | source | wheezy | (not affected) | | | |
wordpress | source | jessie | (not affected) | | | |
wordpress | source | (unstable) | 4.7.2+dfsg-1 | | | |
Notes
[jessie] - wordpress <not-affected> (Vulnerable code introduced after 4.4)
[wheezy] - wordpress <not-affected> (Vulnerable code not present)
https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7
rest-api introduced in 4.4 upstream