SourceCodester Pet Grooming Management Software SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester Pet Grooming Management Software version 1.0. The issue resides in the file '/admin/print_inv.php', where the 'id' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows unauthorized access to the application's database, where attackers can modify or delete data, access sensitive information, and potentially disrupt the application's services.

Reproduction

To reproduce this vulnerability, send a POST request to '/admin/print_inv.php' with the 'id' parameter. The injection can be tested using a boolean-based blind SQL injection payload, such as '1' AND 1=1.

Remediation

It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure that user input meets expected formats, blocking malicious data. Finally, database user permissions should be minimized, ensuring that the account used for database connections has only the necessary privileges.

Added: Sep 27, 2025, 12:17 PM
Updated: Sep 27, 2025, 12:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
0.6
threat
6.4
urgency
2.9
incentive
5.8

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