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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Lifecycle Timeline
1DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41760
GHSA-6rqx-fwrh-2hr3