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 '/registered-user-testing.php' file, where the 'testtype' parameter can be manipulated to inject malicious SQL queries. This vulnerability allows attackers to access and manipulate the database without authorization, potentially leading to unauthorized data access, data modification or deletion, and disruption of services.

Impact

Exploitation of this vulnerability allows for unauthorized database access via the 'testtype' parameter, enabling attackers to inject malicious SQL that could be used to access, modify, or delete database information. This could result in unauthorized access to sensitive data, manipulation of database records, and disruption of the application's normal functioning.

Reproduction

To reproduce this vulnerability, send a POST request to '/nipah-tms/registered-user-testing.php' with the 'testtype' parameter set to a crafted SQL injection payload, such as one that includes SQL syntax to manipulate the database query processing, such as '1' and sleep(5) and'. This payload exploits the application's failure to properly sanitize user input before using it in SQL queries.

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, and database user permissions should be minimized to limit access rights.

Added: Jun 17, 2025, 3:46 AM
Updated: Jun 17, 2025, 3:46 AM

Vulnerability Rating

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