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 index.php file, where the username parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely without authentication, allowing attackers to access, modify, or delete database information.
Exploitation of this vulnerability could lead to unauthorized database access, allowing attackers to manipulate or delete data, access sensitive information, and potentially disrupt services.
The vulnerability can be reproduced by sending a POST request to the /admin/index.php file with a crafted username 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, 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.