code-projects Simple Online Hotel Reservation System
cpe:2.3:a:simple_online_hotel_reservation_system_project:simple_online_hotel_reservation_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in Code-Projects Simple Online Hotel Reservation System version 1.0. The issue arises in the file '/admin/edit_account.php', where the 'admin_id' parameter is improperly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.
Exploitation of this vulnerability allows unauthorized access to the database, manipulation of data, leakage of sensitive information, and potential disruption of services.
The vulnerability can be reproduced by sending a GET request to '/admin/edit_account.php' with a crafted 'admin_id' parameter that includes malicious SQL payloads. This can be done using a tool like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.
It is recommended to use prepared statements and parameter binding to prevent SQL injection, validate and filter user input, and minimize database user permissions.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.