Projectworlds Hospital Database Management System SQL Injection Vulnerability
Vulnerability
A critical SQL injection vulnerability has been identified in Projectworlds Hospital Database Management System version 1.0. The issue resides in the '/medicines_info.php' file, where the 'Med_ID' parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, without any login or authorization requirements.
Impact
Exploitation of this vulnerability allows unauthorized access to the database, potential leakage or manipulation of sensitive data, and could lead to unauthorized control over the system or disruption of services.
Reproduction
The vulnerability can be reproduced by sending a POST request to 'medicines_info.php' with the 'Med_ID' parameter. The request can include a crafted SQL payload that exploits the application's SQL query handling. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.
Remediation
To address this vulnerability, it is recommended to use prepared statements and parameter binding to separate SQL code from user input, validate and filter user input to ensure it meets expected formats, 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.
