Skip to main content

Online Hotel Reservation System CVE-2025-6457

| EUVDEUVD-2025-18833 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-22 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

CVSS 7.3 (Medium-High) with AV:N/AC:L/PR:N/UI:N indicates high exploitability: network-accessible, no authentication required, low attack complexity, and no user interaction needed. However, this score reflects only confidentiality (C:L), integrity (I:L), and availability (A:L) impacts—partial rather than complete compromise. The publicly disclosed POC and active disclosure significantly increase real-world risk despite the CVSS not reaching 'critical' (8.0+). Without EPSS data, exploitation probability is difficult to quantify precisely, but the combination of trivial network access, no privileges required, public POC, and SQL injection's ease of automation suggests HIGH practical risk. This is not a false-alarm high-CVSS issue; it represents genuine, immediately exploitable danger to any unpatched instance. Organizations running this system should treat it as critical priority due to disclosure and exploitability, even if CVSS is moderately scored.

Exploit ScenarioDerived

An attacker discovers the vulnerable Online Hotel Reservation System 1.0 instance via search engine or reconnaissance. They craft a malicious HTTP request to /reservation/demo.php with a payload in the Start parameter, such as: GET /reservation/demo.php?Start=2025-01-01' OR '1'='1 or Start=2025-01-01'; DROP TABLE reservations; --. Because AC:L and PR:N, no authentication or special setup is required—the request is sent directly. The PHP application concatenates this unsanitized input into a SQL query without parameterization. The injected SQL executes in the database context, allowing the attacker to: (1) bypass date filters and extract all reservation records, guest PII, and payment information via UNION-based injection; (2) modify reservation data to create fraudulent bookings; or (3) delete reservations or tables to cause availability impact. A public POC streamlines this attack, enabling script-kiddie-level exploitation. Real-world impact: guest data breach, financial fraud, system downtime, compliance violations (GDPR, PCI-DSS for payment data).

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

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

Alert me

AnalysisAIv1 – Mar 15, 2026

CVE-2025-6457 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0 affecting the /reservation/demo.php file, where the 'Start' parameter is unsanitized and directly used in database queries. An unauthenticated remote attacker can exploit this vulnerability to read, modify, or delete sensitive database content including guest information, reservations, and payment data. The vulnerability has been publicly disclosed with exploit code available, though specific EPSS probability and KEV/CISA inclusion status cannot be determined from provided data.

RemediationAI

Patching: Upgrade to a patched version above 1.0 if available. Check code-projects official repository or project page for security releases. NOTE: No specific patch version identified in provided data—vendor contact or security advisory required. Code-Level Mitigation: Replace all SQL string concatenation in /reservation/demo.php with prepared statements using parameterized queries (PHP mysqli_prepare() or PDO prepared statements). Example: Use $mysqli->prepare('SELECT * FROM reservations WHERE start_date = ?') with bound parameters instead of SELECT * FROM reservations WHERE start_date = ' . $_GET['Start'] . ' Input Validation: Implement strict whitelist validation on 'Start' parameter: validate date format (YYYY-MM-DD), range checks, and type enforcement before use in any query or output context. WAF/IDS Mitigation: Deploy Web Application Firewall (WAF) rules to block common SQL injection patterns in the Start parameter (e.g., detect single quotes, SQL keywords like UNION, OR, semicolons). This is a temporary measure pending patching. Access Control: Restrict access to /reservation/demo.php at network level if it is demo/development code that should not be production-facing. Consider moving to non-public testing environment.

Affected VersionsENISA

Online Hotel Reservation System 1.0

Affected Packages

euvd online_hotel_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 vulnerability is a classic SQL injection flaw (CWE-74: Improper Neutralization of Special Elements used in an Output) in a PHP-based hotel reservation system. The /reservation/demo.php endpoint accepts user input via the 'Start' parameter without proper parameterized queries or input validation/sanitization. PHP applications using concatenated SQL strings or insufficient escaping (lacking prepared statements with bound parameters) are susceptible. The affected product is code-projects Online Hotel Reservation System version 1.0, typically CPE would be: cpe:2.3:a:code-projects:online_hotel_reservation_system:1.0:*:*:*:*:*:*:*. The root cause is the failure to neutralize SQL metacharacters before passing user input to database query constructors, allowing attackers to inject arbitrary SQL commands.

Know when Online Hotel 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

NVD 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 NVD · only source for this CVE.

CVSS VectorNVD

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

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Nov 13, 2025 - 15:23 vuln.today
Public exploit code
CVE Published
Jun 22, 2025 - 04:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability, which was classified as critical, was found in code-projects Online Hotel Reservation System 1.0. This affects an unknown part of the file /reservation/demo.php. The manipulation of the argument Start leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A publicly disclosed SQL injection vulnerability in the Online Hotel Reservation System allows remote attackers to potentially access or manipulate customer reservation data and sensitive information. This poses an immediate risk to customer trust, regulatory compliance (PCI-DSS, data protection laws), and operational continuity since no vendor patch is currently available.

Business Impact: High
Compensating Controls

Implement WAF rules blocking SQL injection patterns in the Start parameter; disable the vulnerable /reservation/demo.php endpoint if not critical to operations; apply strict input validation and parameterized query enforcement; restrict database user privileges to least-privilege access; enable real-time database activity monitoring for anomalous queries; segment the reservation system from other critical infrastructure; implement rate limiting and IP-based access controls to the affected endpoint.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.1%
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· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

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.

CVE-2025-6355 MEDIUM POC
5.5 Jun 20

CVE-2025-6355 is a critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System version 1.0, s

CVE-2025-8378 MEDIUM POC
5.5 Jul 31

SQL injection in the login endpoint of Campcodes Online Hotel Reservation System 1.0 enables unauthenticated remote atta

CVE-2025-6458 MEDIUM POC
5.5 Jun 22

CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, af

CVE-2025-6456 MEDIUM POC
5.5 Jun 22

CVE-2025-6456 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0, specifical

CVE-2025-6455 MEDIUM POC
5.5 Jun 22

CVE-2025-6455 is a SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, specificall

CVE-2025-9789 MEDIUM POC
5.5 Sep 01

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

CVE-2025-8470 MEDIUM POC
5.5 Aug 02

A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. Rated medium sev

CVE-2025-8469 MEDIUM POC
5.5 Aug 02

A vulnerability classified as critical has been found in SourceCodester Online Hotel Reservation System 1.0. Rated mediu

CVE-2025-10843 MEDIUM POC
5.5 Sep 23

A flaw has been found in Reservation Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), this vulnera

CVE-2025-11055 MEDIUM POC
5.5 Sep 27

A vulnerability was detected in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), th

CVE-2025-10789 MEDIUM POC
5.5 Sep 22

A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

CVE-2025-10788 MEDIUM POC
5.5 Sep 22

A vulnerability was determined in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

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