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 add_reserve.php file, where the firstname parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication, leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.
Exploitation of this vulnerability allows for unauthorized access to the database, manipulation or deletion of data, and access to sensitive information. Such actions pose a significant threat to the overall security of the system and the integrity of its data.
The vulnerability can be reproduced by sending a POST request to the add_reserve.php file with crafted payloads in the firstname parameter. This can be done using tools like sqlmap, which can automate the injection process and exploit the vulnerability.
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.