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 the Code-Projects Simple Online Hotel Reservation System version 1.0. The issue resides in the admin/delete_account.php file, where the admin_id parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely without authentication, potentially leading to unauthorized database access, data modification or deletion, and exposure of sensitive information.
Exploitation of this vulnerability allows for SQL injection, which could be used to manipulate database queries, access or modify database information, and execute administrative operations on the database.
The vulnerability can be reproduced by sending a GET request to the admin/delete_account.php file with a crafted admin_id parameter that includes malicious SQL payloads. This can be done using tools 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, 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.