The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in the REST API in…
No fixed version listed yet.Check the vendor advisory. References ↓
The flaw lies in the register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in the REST API of WordPress 4.7.x before 4.7.2, where an integer identifier is not required. Remote attackers can modify arbitrary pages by sending a request to wp-json/wp/v2/posts that combines a numeric value with a non-numeric value, as in the wp-json/wp/v2/posts/123?id=123helloworld example.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 4 years after disclosure. Public exploit code (Metasploit) was available 2 months before disclosure.
- Public exploit codeMetasploit2 mo before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+4 yrs
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
See the family tree3 related vulnerabilities in the same code over 3 years.
Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.
relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: class-wp-rest-users-controller.php (machine-matched)Functions: get_itemscommit e357195commit daf3589
This CVECVE-2017-1001000The register_routes function in…3 Apr 2017relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: rest-api.php (machine-matched)commit e357195commit b224c25
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo high- or medium-confidence techniques. The 2 available links are lower confidence and listed below.
Lower-confidence links (2)
These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.
- Exploit Public-Facing ApplicationT1190 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
- External DefacementT1491.002 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
What security researchers reported
Not named in any threat report yetAlso mentioned in 1 community threat pulse (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.