Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /details.php endpoint
-
DeliverySend crafted GET request with malicious room parameter
-
ExploitTrigger SQL injection in backend query
-
ExecutionExfiltrate database contents or bypass auth
-
ImpactPivot to credential reuse or webshell upload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of code-projects Hotel and Tourism Reservation System 1.0 with /details.php reachable over HTTP/HTTPS and the 'room' parameter accepted by the endpoint. The only limiting factors are: the target instance must be network-reachable (typical for a web reservation system), and the attacker must know or guess the /details.php path (trivially discoverable via the public source code on code-projects.org). No authentication, no user interaction, no specific browser, and no non-default settings are required per the CVSS vector AV:N/AC:L/PR:N/UI:N. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L yields a 7.3 base score, reflecting a network-reachable, low-complexity, unauthenticated attack with limited impact on each of confidentiality, integrity, and availability - consistent with a single injection point rather than full database compromise. Temporal metrics (E:P, RC:R) indicate a proof-of-concept-level exploit with reasonable reporting confidence, which aligns with the GitHub-hosted PoC referenced by VulDB. There is no CISA KEV listing and no EPSS score was provided in the input, so probability of mass exploitation cannot be quantified; however, code-projects educational/demo applications are commonly targeted by automated SQLi scanners, so real-world risk to any production-exposed instance should be treated as elevated despite the absence of KEV status. The 'L' impact ratings should not be over-discounted: SQLi commonly enables credential theft or pivot to RCE via INTO OUTFILE on misconfigured MySQL, which the CVSS does not fully capture. |
| Exploit ScenarioDerived | An attacker discovers the application via Shodan or a directory brute-force, then issues a request such as GET /details.php?room=1' UNION SELECT username,password,3 FROM users-- against the exposed endpoint. Because the 'room' parameter is concatenated into a SQL statement, the injected UNION returns credential hashes in the rendered page; a public PoC walkthrough is already hosted on GitHub, lowering the skill barrier and enabling drive-by automation by SQLi scanners. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 05, 2026
SQL injection in code-projects Hotel and Tourism Reservation System 1.0 allows remote unauthenticated attackers to manipulate the 'room' parameter of /details.php to inject arbitrary SQL queries. Publicly available exploit code exists (published via GitHub by researcher and indexed by VulDB), increasing the likelihood of opportunistic exploitation against exposed instances. The flaw is reachable over the network with no privileges or user interaction, making any internet-facing deployment of this PHP application a viable target.
RemediationAI
No vendor-released patch identified at time of analysis - the references point only to VulDB advisory entries (https://vuldb.com/vuln/368883) and a third-party PoC at https://github.com/khanfyhhfgfe-cmyk/ht-sql/blob/main/ht_sql.md, with no fix commit or new release published by code-projects. Operators should immediately remove internet exposure of /details.php or take the application offline if it is in production, since code-projects software is typically distributed as educational source code. As a code-level fix, replace the dynamic query construction in /details.php with prepared statements using mysqli or PDO with parameter binding for the 'room' argument, and add server-side type validation (e.g., intval if 'room' is numeric). Compensating controls include placing the application behind a WAF with SQLi signatures targeting the 'room' parameter (low false-positive risk given a single endpoint, but may break legitimate non-numeric inputs), enforcing least-privilege database accounts that lack FILE and CREATE privileges (mitigates pivot to RCE via INTO OUTFILE but won't stop data theft), and enabling verbose query logging for forensic visibility (storage overhead trade-off).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected software is a PHP-based hotel and tourism reservation web application distributed by code-projects (CPE: cpe:2.3:a:code-projects:hotel_and_tourism_reservation_system). The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning the 'room' GET/POST parameter passed to /details.php is concatenated into a SQL query without parameterization or proper escaping. This class of bug typically arises in PHP code that uses mysqli_query or the deprecated mysql_query against user-supplied input, allowing tautology-based authentication bypass, UNION-based data extraction, or time-based blind injection depending on the query context.
Know when Hotel And Tourism Reservation System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in code-projects Hotel and Tourism Reservation System 1.0. This affects an unknown function of the file /details.php. Such manipulation of the argument room leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
The Hotel and Tourism Reservation System (code-projects v1.0) contains a critical SQL injection vulnerability allowing unauthenticated remote attackers to access and manipulate hotel reservation data and guest information. Publicly available exploit code exists, creating immediate risk of data breach and operational disruption for any organization running this software. Urgent action is required as no vendor patch is available.
No vendor-released patch identified at time of analysis. Implement: (1) Web Application Firewall with SQL injection blocking rules for the /details.php 'room' parameter; (2) Network segmentation to restrict access to affected system; (3) Real-time database query monitoring and alerting; (4) Input validation and parameterized query implementation if code modifications are possible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Authentication bypass in code-projects Hotel and Tourism Reservation System 1.0 allows remote attackers to defeat admin
SQL injection in code-projects Hotel and Tourism Reservation System 1.0 allows remote unauthenticated attackers to manip
Cross-site scripting in code-projects Hotel and Tourism Reservation System 1.0 allows remote unauthenticated attackers t
EUVD-2026-34864
GHSA-h9q5-44xj-9xmq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB