Skip to content

CVE-2017-1001000 WordPress Core < 4.7.2 - Arbitrary Page Modification

HighCVSS 7.5 EPSS 84.9% Scanner template
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPressDebian

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.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
debian/wordpress(Debian 12) < 4.7.2+dfsg-1 4.7.2+dfsg-1 Fixed
debian/wordpress(Debian 13) < 4.7.2+dfsg-1 4.7.2+dfsg-1 Fixed
debian/wordpress(Debian 14) < 4.7.2+dfsg-1 4.7.2+dfsg-1 Fixed
WordPress(WordPress) < 3.7; >= 3.7, < 3.7.18; >= 3.8, < 3.8.18; >= 3.9, < 3.9.16 +8 more 3.7, 3.7.18, 3.8.18, 3.9.16, 4.0.15, 4.1.15, 4.2.12, 4.3.8, 4.4.7, 4.5.6, 4.6.3, 4.7.2 Fixed
WordPress = 4.7; = 4.7.1; = 4.7.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
WordPress(WordPress) < 3.7 3.7
WordPress(WordPress) >= 3.7, < 3.7.18 3.7.18
WordPress(WordPress) >= 3.8, < 3.8.18 3.8.18
WordPress(WordPress) >= 3.9, < 3.9.16 3.9.16
WordPress(WordPress) >= 4.0, < 4.0.15 4.0.15
WordPress(WordPress) >= 4.1, < 4.1.15 4.1.15
WordPress(WordPress) >= 4.2, < 4.2.12 4.2.12
WordPress(WordPress) >= 4.3, < 4.3.8 4.3.8
WordPress(WordPress) >= 4.4, < 4.4.7 4.4.7
WordPress(WordPress) >= 4.5, < 4.5.6 4.5.6
WordPress(WordPress) >= 4.6, < 4.6.3 4.6.3
WordPress(WordPress) >= 4.7, < 4.7.2 4.7.2
debian/wordpress(Debian:12) < 4.7.2+dfsg-1 4.7.2+dfsg-1
debian/wordpress(Debian:13) < 4.7.2+dfsg-1 4.7.2+dfsg-1
debian/wordpress(Debian:14) < 4.7.2+dfsg-1 4.7.2+dfsg-1
WordPress = 4.7 No fix listed
WordPress = 4.7.1 No fix listed
WordPress = 4.7.2 No fix listed

References