code-projects Responsive Hotel Site
cpe:2.3:a:responsive_hotel_site_project:responsive_hotel_site:*:*:*:*:*:*:*
- 1.0
A SQL injection vulnerability has been identified in Code-Projects Responsive Hotel Site version 1.0, specifically within the admin room deletion script (roomdel.php). The issue arises from inadequate validation of the 'id' parameter, allowing remote attackers to inject malicious SQL queries. This vulnerability could lead to unauthorized database access, data manipulation, and exposure of sensitive information.
Exploitation of this vulnerability allows for SQL injection, with potential consequences including unauthorized database access, data modification or deletion, and leakage of sensitive information.
The vulnerability can be reproduced by sending a POST request to '/admin/roomdel.php' with a crafted '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.