CVE-2017-5487
Description
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API implementation in WordPress 4.7 before 4.7.1 does not properly restrict listings of post authors, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
WordPress Core < 4.7.1 - Username Enumeration
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 4.7.1-1 | |
| debian | bookworm | fixed | 4.7.1+dfsg-1 |
| debian | bullseye | fixed | 4.7.1+dfsg-1 |
| debian | forky | fixed | 4.7.1+dfsg-1 |
| debian | sid | fixed | 4.7.1+dfsg-1 |
| debian | trixie | fixed | 4.7.1+dfsg-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| wordpress | wordpress | {"endIncluding":"4.7"} | |
References
- https://security.archlinux.org/ASA-201701-22
- 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
- https://www.exploit-db.com/exploits/41497/
- https://www.wordfence.com/blog/2016/12/wordfence-blocks-username-harvesting-via-new-rest-api-wp-4-7/
- https://security-tracker.debian.org/tracker/CVE-2017-5487
CWEs
CWE-200
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.