CVE-2026-11342
Deferred Deferred - Pending Action

SQL Injection in Hotel and Tourism Reservation System

Vulnerability report for CVE-2026-11342, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-05

Last updated on: 2026-06-05

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-05
Last Modified
2026-06-05
Generated
2026-07-17
AI Q&A
2026-06-05
EPSS Evaluated
2026-07-15
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-11342 is an SQL Injection vulnerability found in the Hotel And Tourism Reservation System (HT-SQL), specifically in the details.php file.

The vulnerability arises because user inputs from the 'room' parameter in the URL (GET request) and several reservation form fields (POST request) are directly concatenated into SQL queries without any validation, sanitization, or use of prepared statements.

This allows unauthenticated remote attackers to execute arbitrary SQL commands by manipulating these inputs, which can affect multiple database operations including SELECT, UPDATE, and INSERT queries.

Detection Guidance

This SQL Injection vulnerability can be detected by testing the 'room' parameter in the URL and the reservation form fields for injection flaws. Manual techniques include attempting to manipulate the 'room' GET parameter and POST fields such as fullname, in_date, out_date, phone, people, and email with SQL payloads.

Automated tools like sqlmap can be used to detect and exploit the vulnerability by dumping database information and verifying injection points.

  • Use sqlmap to test the 'room' parameter in the URL: sqlmap -u "http://target/details.php?room=1" --batch
  • Test POST parameters with sqlmap by specifying the data fields: sqlmap -u "http://target/details.php" --data="fullname=test&in_date=2026-01-01&out_date=2026-01-02&phone=1234567890&people=1&[email protected]" --batch

Manual detection can also involve injecting SQL syntax into these parameters and observing error messages or unexpected behavior indicating SQL injection.

Impact Analysis

Exploitation of this vulnerability can lead to serious impacts including:

  • Extraction of all room data and sensitive information from the database.
  • Dumping of database credentials and other confidential data.
  • Modification of reservation records, potentially allowing attackers to create fraudulent bookings.
  • Potential full compromise of the application backend.
Compliance Impact

The SQL Injection vulnerability in the Hotel and Tourism Reservation System allows attackers to extract sensitive data, including database credentials and reservation records, and to modify data to create fraudulent bookings.

Such unauthorized access and manipulation of sensitive personal and reservation data can lead to violations of data protection regulations like GDPR and HIPAA, which require the protection of personal and sensitive information against unauthorized access and breaches.

Therefore, exploitation of this vulnerability could result in non-compliance with these standards due to potential data breaches, unauthorized data disclosure, and lack of adequate security controls.

Mitigation Strategies

Immediate mitigation steps include sanitizing and validating all user inputs, especially the 'room' GET parameter and the reservation form POST fields.

Implement prepared statements (parameterized queries) for all database operations to prevent SQL injection.

Cast numeric IDs to integers using functions like intval() to ensure type safety.

Disable direct error output in production environments to avoid leaking database or application information.

If possible, apply patches or updates from the vendor or maintainers addressing this vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-11342. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart