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 '/patient-report.php' file, where the 'searchdata' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, with public knowledge of the exploit available.

Impact

Exploitation of this vulnerability allows unauthorized access to the application's database, where attackers can leak, modify, or delete data. Additionally, it could lead to complete control over the application or the server it runs on, disrupting services and causing significant operational issues.

Reproduction

To reproduce this vulnerability, send a POST request to '/nipah-tms/patient-report.php' with the 'searchdata' parameter. The injection can be crafted using boolean-based or time-based blind SQL injection techniques, taking advantage of the application's SQL query handling.

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.

Added: Jun 9, 2025, 3:37 AM
Updated: Jun 9, 2025, 3:37 AM

Vulnerability Rating

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