Skip to main content

Simple Online Hotel Reservation System CVE-2025-6420

| EUVDEUVD-2025-18824 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-21 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

While the CVSS 3.1 score of 7.3 (High) reflects a severe vulnerability with network accessibility (AV:N), no privilege requirements (PR:N), and low attack complexity (AC:L), the real-world risk is CRITICAL due to multiple compounding factors: (1) Public exploit disclosure elevates exploitation probability significantly; (2) The vulnerability affects an administrative endpoint (/admin/add_room.php), suggesting access to sensitive hotel operations and customer data; (3) SQL injection typically enables complete database compromise with confidentiality (C:L), integrity (I:L), and availability (A:L) impacts; (4) The affected product appears to be legacy/unmaintained code-projects software with no clear patch timeline evident. The EPSS score would likely be elevated (>0.70) given public POC availability and network accessibility. This merits immediate patching or system retirement.

Exploit ScenarioDerived

An attacker identifies a publicly accessible Simple Online Hotel Reservation System 1.0 instance and directly accesses the admin panel (or through path traversal if access controls are weak). The attacker crafts a malicious HTTP request to /admin/add_room.php with a crafted room_type parameter containing SQL metacharacters, such as: room_type=Deluxe' UNION SELECT username, password, NULL FROM admin_users-- . The unsanitized input is concatenated into a SQL query, breaking the intended syntax and causing the database to return administrator credentials. The attacker logs in as an admin and modifies reservations, steals guest data (PII), or corrupts room availability information. Alternatively, using stacked queries or time-based blind SQL injection, the attacker extracts the entire database schema and contents. Given the public POC and low attack complexity, exploitation can be automated and scaled across multiple vulnerable instances.

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

A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, specifically in the /admin/add_room.php file where the 'room_type' parameter is insufficiently sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or deletion of hotel reservation system data. A proof-of-concept exploit has been publicly disclosed, increasing real-world exploitation risk.

RemediationAI

Upgrade to the latest patched version if available from code-projects. If no patch exists, consider alternative hotel management systems. Workaround (Immediate): Implement IP whitelisting or require VPN/authentication gateway access to administrative endpoints. Code-Level Mitigation: Refactor add_room.php to use mysqli prepared statements or PDO with parameterized queries instead of string concatenation. Input Validation: Validate room_type against a predefined list of allowed room types before any database operation. Detection: Enable ModSecurity or similar WAF with OWASP ModSecurity Core Rule Set to block SQL injection attempts.

Affected VersionsENISA

Simple Online Hotel Reservation System 1.0

Affected Packages

euvd simple_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 ('Injection')) stemming from inadequate input validation and parameterized query implementation in PHP. The Simple Online Hotel Reservation System 1.0 (affected CPE would be cpe:2.3:a:code-projects:simple_online_hotel_reservation_system:1.0:*:*:*:*:*:*:*) fails to properly escape or bind the 'room_type' parameter in database queries within the administrative add_room.php endpoint. This allows attackers to inject malicious SQL syntax that bypasses intended query logic, commonly used to exfiltrate user credentials, reservation data, or administrative information from the backend database.

Know when Simple 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
Oct 23, 2025 - 20:06 vuln.today
Public exploit code
CVE Published
Jun 21, 2025 - 22:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in code-projects Simple Online Hotel Reservation System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /admin/add_room.php. The manipulation of the argument room_type leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A remote SQL injection vulnerability in the Simple Online Hotel Reservation System's admin panel allows attackers to compromise the hotel database without authentication. With public exploits available and no vendor patch, this poses an immediate risk to customer data, booking information, and business operations for any organization using this software.

Business Impact: High
Compensating Controls

Implement WAF rules to detect and block SQL injection patterns in room_type parameter; restrict admin interface access via IP whitelisting and VPN; disable the add_room.php functionality if not actively used; apply strict input validation and parameterized queries at application code level; increase database monitoring and audit logging for unauthorized queries; isolate the hotel reservation system on a segmented network with limited lateral movement capability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% 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-2024-6308 MEDIUM POC
6.9 Jun 25

A vulnerability was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),

CVE-2024-6116 MEDIUM POC
6.9 Jun 18

A vulnerability, which was classified as critical, has been found in itsourcecode Simple Online Hotel Reservation System

CVE-2024-6115 MEDIUM POC
6.9 Jun 18

A vulnerability classified as critical was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated mediu

CVE-2023-1561 CRITICAL
9.8 Mar 22

A vulnerability, which was classified as critical, was found in code-projects Simple Online Hotel Reservation System 1.0

CVE-2025-6421 MEDIUM POC
5.5 Jun 21

A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci

CVE-2025-6419 MEDIUM POC
5.5 Jun 21

CVE-2025-6419 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe

CVE-2025-13170 MEDIUM POC
5.5 Nov 14

A vulnerability was detected in code-projects Simple Online Hotel Reservation System 1.0.php. Rated medium severity (CVS

CVE-2025-6578 MEDIUM POC
5.5 Jun 24

CVE-2025-6578 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System version 1.0 affecting

CVE-2025-6451 MEDIUM POC
5.5 Jun 22

CVE-2025-6451 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version

CVE-2025-6450 MEDIUM POC
5.5 Jun 22

CVE-2025-6450 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version

CVE-2025-6449 MEDIUM POC
5.5 Jun 22

CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /ad

CVE-2025-6448 MEDIUM POC
5.5 Jun 22

CVE-2025-6448 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe

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