PHPGurukul Emergency Ambulance Hiring Portal SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Emergency Ambulance Hiring Portal version 1.0. The issue resides in the file '/admin/search.php', 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 modification or deletion, and exposure of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in unauthorized data access, data leakage, data modification or deletion, and potentially allow attackers to gain control over the application or its underlying server.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/admin/search.php' with the 'searchdata' parameter. The injection can be performed using a time-based blind SQL injection payload, such as one that uses the MySQL 'SLEEP' function to demonstrate the injection, or a UNION-based payload to extract data from the database.

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 user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits are also advisable.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
7.5
exploitability
9.7
remediation
0.0
relevance
0.0
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.