{"id":"CVE-2017-1001000","published":"2017-04-03T01:00:00Z","modified":"2024-08-05T22:00:41Z","title":"The register_routes function in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in the REST API in…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:16:27Z"},"cvss":null,"epss":{"score":0.84244,"percentile":0.99704,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2021-06-02","exploitedFirstSeen":"2021-06-02","ransomware":false,"evidence":[{"url":"https://go.catonetworks.com/rs/245-RJK-441/images/Security%20Quarterly%20Report.pdf","date":"2021-06-02"},{"url":"https://previdian.com/CVE-2017-1001000","date":"2026-07-29"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Python: OVSAgentServer Document (autofilled name)","url":"https://otx.alienvault.com/pulse/6660c1268a1f430e17236b55","created":"2024-06-05"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://codex.wordpress.org/Version_4.7.2","tags":["x_refsource_CONFIRM"]},{"url":"https://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/","tags":["x_refsource_CONFIRM"]},{"url":"https://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.html","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/leonjza/2244eb15510a0687ed93160c623762ab","tags":["x_refsource_MISC"]},{"url":"https://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7","tags":["x_refsource_CONFIRM"]},{"url":"https://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/10/16","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securitytracker.com/id/1037731","tags":["vdb-entry","x_refsource_SECTRACK"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"},{"id":"T1491.002","name":"External Defacement","tactics":["impact"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-1613","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-1613","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"WordPress REST API Content Injection","module":"auxiliary/scanner/http/wordpress_content_injection","type":"auxiliary","disclosureDate":"2017-02-01","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wordpress_content_injection.rb"}],"first":{"date":"2017-02-01","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wordpress_content_injection.rb"},"provenance":"source"},"exploitRefs":[],"flow":[{"stage":"related","techniques":["T1190","T1491.002"],"provenance":"source","lowConfidence":true}],"timeline":[{"date":"2017-02-01","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/wordpress_content_injection.rb","provenance":"source"},{"date":"2017-04-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-1001000","provenance":"source"},{"date":"2021-06-02","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://go.catonetworks.com/rs/245-RJK-441/images/Security%20Quarterly%20Report.pdf","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":60.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1998 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9970"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2017-5487-family-cve-2017-5487","parents":[{"from":"CVE-2017-5487","to":"CVE-2017-1001000","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php"],"commits":["https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7","https://github.com/WordPress/WordPress/commit/daf358983cc1ce0c77bf6d2de2ebbb43df2add60"],"basis":"shared function","functions":["get_items"]}]}],"children":[{"from":"CVE-2017-1001000","to":"CVE-2019-17673","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wp-includes/rest-api.php"],"commits":["https://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7","https://github.com/WordPress/WordPress/commit/b224c251adfa16a5f84074a3c0886270c9df38de"],"basis":"rarely changed file"}]}]}}