PHPGurukul Human Metapneumovirus Testing Management System SQL Injection Vulnerability
Vulnerability
A critical SQL injection vulnerability has been identified in PHPGurukul's Human Metapneumovirus Testing Management System version 1.0. The issue resides in the file '/check_availability.php', where insufficient input validation of the 'mobnumber' and 'employeeid' parameters allows for the injection of malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.
Impact
Exploitation of this vulnerability allows for SQL injection, which could be used to manipulate database queries. This could lead to unauthorized data access, data modification or deletion, and in some cases, executing administrative operations on the database.
Reproduction
The vulnerability can be reproduced by sending a POST request to '/check_availability.php' with crafted payloads that exploit the SQL injection flaw. This can be done using tools like Burp Suite to intercept and modify the request, or by using sqlmap, a popular SQL injection exploitation tool, which can automate the process of finding and exploiting SQL injection vulnerabilities.
Remediation
It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, minimize database user permissions, and conduct regular security audits.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
