PHPGurukul Dairy Farm Shop Management System SQL Injection Vulnerability in Invoices.php

Vulnerability

A critical SQL injection vulnerability has been identified in the PHPGurukul Dairy Farm Shop Management System version 1.3. The issue resides in the invoices.php file, where the 'del' parameter can be manipulated to inject malicious SQL queries. This vulnerability allows attackers to access and manipulate the database, potentially leading to unauthorized data access, data modification or deletion, and disruption of services.

Impact

Exploitation of this vulnerability allows for unauthorized database access, manipulation of data, leakage of sensitive information, and disruption of services.

Reproduction

The vulnerability can be reproduced by sending a GET request to 'invoices.php' with a crafted 'del' parameter that includes malicious SQL payloads. The injection can be verified by observing the application's response or by using a tool like sqlmap to automate the exploitation process.

Remediation

It is recommended to update the application to a version that addresses this vulnerability. If no update is available, consider applying general SQL injection mitigation techniques, such as using prepared statements and parameterized queries, validating and sanitizing user inputs, and restricting database user permissions.

Added: Jul 14, 2025, 10:29 AM
Updated: Jul 14, 2025, 10:29 AM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
5.0
exploitability
6.2
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.