Campcodes Hospital Management System SQL Injection Vulnerability in User Login
Vulnerability
A critical SQL injection vulnerability has been identified in Campcodes Hospital Management System version 1.0. The issue resides in the user-login.php file, where the 'username' parameter can be manipulated to execute arbitrary SQL commands. This vulnerability can be exploited remotely, without any authentication requirements.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
Reproduction
To reproduce this vulnerability, send a POST request to the user-login.php endpoint with a crafted 'username' parameter that includes SQL injection payloads. The request should be made without authentication, as the vulnerability can be exploited by any user.
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.
