| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| wordpress (PTS) | bullseye | 5.7.11+dfsg1-0+deb11u1 | fixed |
| bullseye (security) | 5.7.14+dfsg1-0+deb11u1 | fixed | |
| bookworm | 6.1.6+dfsg1-0+deb12u1 | fixed | |
| bookworm (security) | 6.1.9+dfsg1-0+deb12u1 | fixed | |
| trixie | 6.8.1+dfsg1-1 | fixed | |
| forky, sid | 6.8.3+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 |
[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