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 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/checkout_query.php. The manipulation of the argument transaction_id leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Analysis
CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /admin/checkout_query.php endpoint. An unauthenticated remote attacker can manipulate the 'transaction_id' parameter to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or system disruption. The vulnerability has been publicly disclosed with exploits available, and the CVSS 7.3 score reflects high impact across confidentiality, integrity, and availability despite moderate attack complexity.
Technical Context
The vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component / 'Injection'), specifically SQL injection. The affected component is /admin/checkout_query.php in the Simple Online Hotel Reservation System v1.0 (CPE: cpe:2.3:a:code-projects:simple_online_hotel_reservation_system:1.0:*:*:*:*:*:*:*). The root cause is insufficient input validation/sanitization on the 'transaction_id' parameter before it is incorporated into SQL queries. The attacker can insert malicious SQL syntax directly into database queries without proper parameterized prepared statements or escaping mechanisms, allowing them to bypass authentication, extract sensitive data, modify records, or perform denial-of-service attacks through resource-intensive queries.
Affected Products
Product: Simple Online Hotel Reservation System; Vendor: code-projects; Affected Version(s): 1.0; CPE: cpe:2.3:a:code-projects:simple_online_hotel_reservation_system:1.0:*:*:*:*:*:*:*; Affected Component: /admin/checkout_query.php (transaction_id parameter). No vendor advisory or patch reference was provided in the available data. Organizations running version 1.0 of this application should immediately assess their deployments.
Remediation
Immediate actions: (1) **Input Validation & Parameterization**: Replace all string concatenation in SQL queries with prepared statements/parameterized queries using bound parameters. Ensure transaction_id is validated as a numeric/UUID value before use. (2) **WAF Rules**: Deploy Web Application Firewall rules to block SQL injection patterns in the transaction_id parameter (e.g., quotes, SQL keywords, union-based payloads). (3) **Principle of Least Privilege**: Ensure the database user account running /admin/checkout_query.php has minimal permissions (no DROP, CREATE, or SELECT on sensitive tables). (4) **Patch/Upgrade**: Contact code-projects for a patched version >1.0 or evaluate alternative hotel reservation systems with active security maintenance. (5) **Incident Response**: Audit transaction logs and database access logs for signs of exploitation; reset credentials if compromise is suspected. (6) **Network Segmentation**: Restrict access to /admin/ endpoints to trusted IP ranges if possible.
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-18830