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 critical SQL injection vulnerability has been identified in version 1.0 of the Code-Projects Simple Online Hotel Reservation System. The issue resides in the admin/delete_room.php file, where the room_id parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.
Exploitation of this vulnerability allows for SQL injection, with potential consequences including unauthorized database access, data manipulation or deletion, and disruption of service.
The vulnerability can be reproduced by sending a request to the admin/delete_room.php file with a crafted room_id parameter that includes malicious SQL code. This can be done using a variety of SQL injection techniques, such as boolean-based blind, error-based, or time-based blind payloads.
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.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.