PHPGurukul Online Fire Reporting System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in PHPGurukul Online Fire Reporting System version 1.2. The issue resides in the file '/admin/completed-requests.php', where the 'teamid' parameter can be manipulated to inject malicious SQL code. This vulnerability allows attackers to interfere with SQL queries, potentially leading to unauthorized database access, data manipulation, and execution of malicious operations. The vulnerability can be exploited remotely, and details of the exploit are publicly available.

Impact

Exploitation of this vulnerability allows for unauthorized database access via the 'teamid' parameter, with the potential to leak, modify, or delete data. Such actions could disrupt services and cause significant harm to system security and business operations.

Reproduction

To reproduce this vulnerability, send a GET request to '/admin/completed-requests.php' with a crafted 'teamid' parameter that includes malicious SQL payloads. The injection can be verified by observing the application's response or by using a tool like sqlmap 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, blocking malicious data. Finally, database user permissions should be minimized, granting only the necessary rights for operations and avoiding high-privilege accounts.

Added: Jul 14, 2025, 3:18 AM
Updated: Jul 14, 2025, 3:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
4.6
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.