CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Lifecycle Timeline
4Description
A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0. It has been classified as critical. This affects an unknown part of the file /admin/confirm_reserve.php. The manipulation of the argument transaction_id leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Analysis
CVE-2025-6450 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version 1.0, affecting the /admin/confirm_reserve.php endpoint where the transaction_id parameter is inadequately sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or deletion of the hotel reservation database. Public exploit code is available and the vulnerability meets criteria for active exploitation risk.
Technical Context
The vulnerability stems from improper input validation in a PHP-based web application handling hotel reservations. The root cause is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component), which encompasses SQL injection as a specific manifestation. The /admin/confirm_reserve.php script directly incorporates user-supplied input (transaction_id parameter) into SQL queries without parameterized statements or prepared statements. This is a classic unsafe query construction pattern where concatenation of untrusted input into SQL strings allows attackers to inject malicious SQL syntax. The affected product is code-projects Simple Online Hotel Reservation System 1.0, likely deployed as a PHP application running on web servers with database backends (MySQL, PostgreSQL, or similar RDBMS).
Affected Products
- product: Simple Online Hotel Reservation System; vendor: code-projects; version: 1.0; affected_component: /admin/confirm_reserve.php; vulnerable_parameter: transaction_id; notes: This appears to be a legacy open-source or commercial PHP application; no official CVE CPE identifier found in major registries, suggesting limited vendor response infrastructure
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-28737