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 '/edit_curr.php' file, where the 'currsymbol' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, without any authentication.
Exploitation of this vulnerability allows unauthorized access to the database, where attackers can read, modify, or delete data. Additionally, it could lead to unauthorized execution of commands on the server, depending on the application's database interaction.
To reproduce this vulnerability, send a POST request to '/hotel2/edit_curr.php' with the 'currsymbol' parameter containing the injected SQL payload. The injection can be verified by using a SQL injection tool like sqlmap, which can automate the exploitation process and demonstrate the vulnerability by extracting database information.
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help mitigate such vulnerabilities.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.