Quick answers
- Is CVE-2017-5487 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2017-5487 being exploited in the wild.
- How severe is CVE-2017-5487?
- Medium severity, with a CVSS score of 5.3, published 15 January 2017.
- Which products and versions are affected?
- WordPress WordPress 4.7 before 4.7.1.
- Is there a fix for CVE-2017-5487?
- A patch was published on 2017-01-11: WordPress 4.7.1 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2017-5487 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2017-5487?
- Check whether you run Wordpress. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability exists in 'wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php' within the WordPress REST API. In version 4.7, the API did not sufficiently restrict the listing of users who had authored public posts, allowing unauthenticated remote attackers to perform username harvesting by querying the 'wp-json/wp/v2/users' endpoint. The fix introduced in version 4.7.1 restricts this listing to only include post types specifically configured to be shown within the REST API. This is a classic CWE-200 (Information Exposure) issue that can be exploited via a simple GET request without any special privileges or user interaction.
Affected products
- WordPress WordPress 4.7 before 4.7.1
Timeline
- 2017-01-11: patched: WordPress 4.7.1 released
- 2017-01-14: disclosed: Public disclosure via oss-security mailing list
- 2017-01-15: advisory: NVD publication date
References
- http://www.openwall.com/lists/oss-security/2017/01/14/6
- http://www.securityfocus.com/bid/95391
- http://www.securitytracker.com/id/1037591
- https://codex.wordpress.org/Version_4.7.1
- https://github.com/WordPress/WordPress/commit/daf358983cc1ce0c77bf6d2de2ebbb43df2add60
- https://wordpress.org/news/2017/01/wordpress-4-7-1-security-and-maintenance-release/
- https://wpvulndb.com/vulnerabilities/8715