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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
Lifecycle Timeline
4DescriptionCVE.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
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.
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
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.
A vulnerability was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
A vulnerability, which was classified as critical, has been found in itsourcecode Simple Online Hotel Reservation System
A vulnerability classified as critical was found in itsourcecode Simple Online Hotel Reservation System 1.0. Rated mediu
A vulnerability, which was classified as critical, was found in code-projects Simple Online Hotel Reservation System 1.0
A critical SQL injection vulnerability exists in code-projects Simple Online Hotel Reservation System version 1.0, speci
CVE-2025-6419 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe
A vulnerability was detected in code-projects Simple Online Hotel Reservation System 1.0.php. Rated medium severity (CVS
CVE-2025-6578 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System version 1.0 affecting
CVE-2025-6451 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version
CVE-2025-6450 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System version
CVE-2025-6449 is a critical SQL injection vulnerability in Simple Online Hotel Reservation System v1.0 affecting the /ad
CVE-2025-6448 is a critical SQL injection vulnerability in code-projects Simple Online Hotel Reservation System 1.0 affe
EUVD-2025-18824
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB