SourceCodester Hotel and Lodge Management System
cpe:2.3:a:hotel_and_lodge_management_system_project:hotel_and_lodge_management_system:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in SourceCodester Hotel and Lodge Management System version 1.0. The issue resides in the del_booking.php file, where insufficient input validation of the 'id' parameter allows attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, potentially leading to unauthorized database access, data manipulation, and exposure of sensitive information.
Exploitation of this vulnerability allows for SQL injection, where attackers can manipulate database queries to gain unauthorized access to the database, modify or delete data, and access sensitive information. This poses a significant risk to the application's data integrity and security.
The vulnerability can be reproduced by sending a GET request to the del_booking.php file with a crafted 'id' parameter that includes malicious SQL code. This can be done using a tool like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.
To address this vulnerability, it is recommended to implement input validation and sanitization for the 'id' parameter, use prepared statements to prevent SQL injection, and conduct regular security audits to identify and fix potential vulnerabilities.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.