漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
www.securitytracker.comhttp://www.securitytracker.com/id/1037731↗github.comhttps://github.com/WordPress/WordPress/commit/e357195ce303017d517aff944644a7a1232926f7↗codex.wordpress.orghttps://codex.wordpress.org/Version_4.7.2↗wordpress.orghttps://wordpress.org/news/2017/01/wordpress-4-7-2-security-release/↗blogs.akamai.comhttps://blogs.akamai.com/2017/02/wordpress-web-api-vulnerability.html↗blog.sucuri.nethttps://blog.sucuri.net/2017/02/content-injection-vulnerability-wordpress-rest-api.html↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2017/02/10/16↗gist.github.comhttps://gist.github.com/leonjza/2244eb15510a0687ed93160c623762ab↗make.wordpress.orghttps://make.wordpress.org/core/2017/02/01/disclosure-of-additional-security-fix-in-wordpress-4-7-2/↗