Skip to main content

Hotel and Tourism Reservation System CVE-2026-11342

| EUVDEUVD-2026-34864 MEDIUM
SQL Injection (CWE-89)
2026-06-05 VulDB GHSA-h9q5-44xj-9xmq
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed /details.php endpoint
  2. Delivery
    Send crafted GET request with malicious room parameter
  3. Exploit
    Trigger SQL injection in backend query
  4. Execution
    Exfiltrate database contents or bypass auth
  5. Impact
    Pivot 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Hotel and Tourism Reservation System 1.0

Affected Packages

euvd hotel_and_tourism_reservation_system no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 05, 2026 - 18:22 NVD
HIGH MEDIUM
CVSS changed
Jun 05, 2026 - 18:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy