itsourcecode Hospital Management System
- 1.0
A SQL injection vulnerability has been identified in the itsourcecode Hospital Management System version 1.0. The issue resides in the file '/patviewprescription.php', where the 'delid' parameter is not properly sanitized, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, but requires authentication.
Exploitation of this vulnerability allows for unauthorized database access, leakage of sensitive data, data manipulation, and potentially disruptive control over the system, posing a significant risk to both security and business operations.
To reproduce this vulnerability, log into the application and navigate to the '/patviewprescription.php' file. Once there, send a GET request with the 'delid' parameter. The injection can be verified by using a time-based blind SQL injection payload, which, when executed, will cause a delay in the response time, indicating that the injection was successful.
To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help enhance the application's security.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.