Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request to /admin/add_room.php
-
DeliveryInject SQL payload into vulnerable parameter (e.g., description or price)
-
ExploitBypass query logic via unsanitized input
-
ExecutionExecute arbitrary SQL against backend database
-
ImpactExtract or manipulate reservation and credential data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | The CVSS 4.0 vector assigns PR:N (no privileges required), implying the admin panel does not enforce authentication - a condition consistent with demo/student PHP applications but should be independently verified before concluding unauthenticated exploitation is universally possible. The vulnerable endpoint /admin/add_room.php must be network-reachable (AV:N); no specific non-default configuration is cited beyond that. Any of seven injectable parameters can be used as the injection point: delete_image, edit, description, number, price, rooms, or type. No user interaction is required (UI:N). Exploitation is practically limited by the narrow deployment footprint of this niche demo product - organizations running enterprise hotel management software are not affected. |
| Impact | The CVSS 4.0 score of 5.5 MEDIUM with E:P (exploit proof of concept) reflects the public availability of a working exploit. However, several signals must be cross-referenced: the AV:N/PR:N rating implies unauthenticated remote exploitation, yet /admin/add_room.php is an admin-panel path - if the panel enforces authentication, real-world risk is significantly reduced. No CISA KEV listing exists, indicating no confirmed widespread active exploitation. EPSS data was not provided in the source intelligence. The product's nature as a demo/student application severely limits real-world deployment footprint, making mass exploitation unlikely even given the public PoC. The primary risk scenario is opportunistic targeting of the rare production deployment of this software. |
| Exploit ScenarioDerived | An attacker sends a crafted HTTP GET or POST request to /admin/add_room.php with a SQL injection payload embedded in a parameter such as description or price (e.g., appending ' OR 1=1-- to extract data). If the admin panel lacks authentication enforcement - plausible for demo-grade PHP code - no credentials are required, and the attacker can enumerate or dump the backend database. A step-by-step proof-of-concept demonstrating this technique is publicly available on Medium. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
SQL injection in code-projects Hotel and Tourism Reservation 1.0 exposes the admin panel endpoint /admin/add_room.php to database manipulation via multiple unsanitized parameters. A proof-of-concept exploit has been publicly documented in a Medium article, lowering the barrier for opportunistic exploitation. The CVSS 4.0 vector rates this as network-reachable with no authentication required (PR:N), though this conflicts with the admin-panel location of the endpoint - a discrepancy that should be verified, as exploitation scope depends entirely on whether the admin interface enforces access controls.
RemediationAI
No vendor-released patch identified at time of analysis. The product originates from code-projects.org, a student/demo repository that does not maintain a formal security response process, making an official patch unlikely. The primary fix is to refactor all database interactions in /admin/add_room.php to use PHP PDO or MySQLi prepared statements with bound parameters, eliminating the injection surface entirely. If the application must remain accessible, restrict the /admin/ directory to trusted IP ranges via web server configuration (Apache .htaccess or nginx allow/deny directives) - this limits exposure but does not fix the underlying flaw. For production environments, replacing or decommissioning this application is strongly recommended given its student-grade provenance. Reference: https://medium.com/@avdzav10/sql-injection-in-hotel-and-tourism-reservation-system-php-1-0-admin-add-room-php-25149909c16a and https://vuldb.com/vuln/376343.
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 affected product is a PHP-based hotel and tourism reservation management system distributed by code-projects.org, a repository primarily serving student and demo-grade applications. The vulnerability resides in /admin/add_room.php, a room management handler that passes user-supplied input from multiple parameters - delete_image, edit, description, number, price, rooms, and type - directly into SQL queries without sanitization or parameterization. CWE-74 (Injection) identifies the root cause as failure to properly neutralize special elements before they are interpreted by a downstream SQL interpreter. This is a classic unsanitized input-to-query flaw common in student PHP codebases lacking prepared statements or ORM abstraction.
Know when PHP 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
Admin-panel endpoint implies at least low-privilege access; L/L/L impact consistent with SQL injection of limited scope in a demo application.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A flaw has been found in code-projects Hotel and Tourism Reservation 1.0. Affected is an unknown function of the file /admin/add_room.php. Executing a manipulation of the argument delete_image/edit/description/number/price/rooms/type can lead to sql injection. The attack can be launched remotely. The exploit has been published and may be used.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-41760
GHSA-6rqx-fwrh-2hr3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB