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

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Dairy Farm Shop Management System version 1.3. The issue resides in the invoice.php file, where the del parameter is manipulated to inject malicious SQL code. This exploitation occurs without proper input validation or sanitization, allowing attackers to interfere with SQL queries and execute unauthorized database operations. The vulnerability can be exploited remotely, posing significant risks to data integrity and system security.

Impact

Exploitation of this vulnerability allows attackers to inject malicious SQL queries, potentially leading to unauthorized database access, data manipulation or deletion, and execution of administrative operations on the database. This could result in a complete compromise of the application and its data.

Reproduction

The vulnerability can be reproduced by sending a GET request to invoice.php with a crafted del parameter that includes SQL injection payloads. The injection can be verified by using time-based blind SQL injection techniques, such as payloads that cause the database to delay responses.

Remediation

It is recommended to update the application to a version that addresses this vulnerability. If no such version is available, consider applying input validation and sanitization measures for the del parameter, and use prepared statements to prevent SQL injection.

Added: Jul 14, 2025, 12:21 PM
Updated: Jul 14, 2025, 12:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
7.5
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.