itsourcecode Free Hotel Reservation System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in the Free Hotel Reservation System version 1.0. The issue resides in the file '/hotel/admin/mod_users/index.php?view=edit&id=8', specifically within the Parameter Handler component. The vulnerability is caused by inadequate validation of the 'account_id' parameter, allowing attackers to inject malicious SQL queries. This SQL injection can be exploited remotely, without any authentication.

Impact

Exploitation of this vulnerability allows attackers to manipulate SQL queries, leading to unauthorized database access, data modification or deletion, and potential leakage of sensitive information.

Reproduction

The vulnerability can be reproduced by sending a POST request to '/hotel/admin/mod_users/controller.php?action=edit' with an injected payload in the 'account_id' parameter. The injection can be crafted to exploit either boolean-based blind or error-based SQL injection techniques. This can be done using tools like sqlmap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

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.

Added: Mar 23, 2026, 10:19 PM
Updated: Mar 23, 2026, 10:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
8.7
remediation
0.0
relevance
4.6
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.