PHPGurukul Directory Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Directory Management System version 1.0. The issue resides in the '/searchdata.php' file, where the 'searchdata' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, leading to unauthorized database access, data manipulation, and potential system compromise.

Impact

Exploitation of this vulnerability allows for unauthorized database access, data leakage, manipulation or deletion of data, and could lead to complete system control or service disruption.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/dms/searchdata.php' with the 'searchdata' parameter. The injection can be done using a time-based blind SQL injection payload, such as one that uses the 'SLEEP' function to create a delay, or a UNION-based payload to extract database information.

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, and database user permissions should be minimized to the least required.

Added: Jun 20, 2025, 10:28 AM
Updated: Jun 20, 2025, 10:28 AM

Vulnerability Rating

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

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