PHPGurukul Nipah Virus Testing Management System SQL Injection Vulnerability

Vulnerability

A critical SQL injection vulnerability has been identified in version 1.0 of the PHPGurukul Nipah Virus Testing Management System. The issue resides in the '/test-details.php' file, where the 'assignto' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, with the injected SQL code executed without proper input validation or sanitization, potentially leading to unauthorized database access and data manipulation.

Impact

Exploitation of this vulnerability allows attackers to execute arbitrary SQL commands, which could lead to unauthorized data access, data modification or deletion, and in some cases, executing commands on the server with the database application's privileges.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/nipah-tms/test-details.php' with the 'assignto' parameter. The injected SQL payload can be crafted to exploit the SQL injection vulnerability, such as using a time-based blind SQL injection payload that leverages the 'RLIKE' operator to test for SQL injection vulnerabilities.

Remediation

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

Added: Jun 9, 2025, 4:20 AM
Updated: Jun 9, 2025, 4:20 AM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
7.5
exploitability
6.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.