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 '/index.php' file, where the 'message' parameter can be 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 and does not require authentication.

Impact

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

Reproduction

The vulnerability can be reproduced by sending a POST request to '/eahp/index.php' with the 'message' parameter crafted to include a SQL injection payload. This payload can be designed to exploit time-based blind SQL injection techniques, such as using 'RLIKE SLEEP(5)' to create a delay response, indicating successful injection.

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 meets expected formats, blocking malicious data. Finally, database user permissions should be minimized, granting only necessary access rights.

Added: Jun 20, 2025, 5:17 AM
Updated: Jun 20, 2025, 5:17 AM

Vulnerability Rating

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