Online Hotel Reservation System
CVE-2025-11352
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege admin credentials
-
DeliveryAuthenticate to /admin/addexec.php
-
ExploitCraft malicious file with PHP payload
-
InstallSubmit via image parameter
-
C2File uploaded to web-accessible directory
-
ExecuteAccess uploaded PHP file via HTTP
-
ImpactExecute arbitrary code as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid low-privilege admin account with access to the /admin/addexec.php endpoint. The 'image' parameter must accept the upload without server-side file type validation (the stated vulnerability). PHP execution must be enabled in the upload directory for the attack to progress to code execution; if uploads are stored outside the web root or in a directory with execution disabled, the impact is limited to storage of arbitrary files. The CVSS vector confirms no user interaction is required once the attacker is authenticated (UI:N), and exploitation can occur over the network (AV:N) with low complexity (AC:L). Authentication is the primary limiting factor - environments with strong admin account controls, regular credential rotation, and monitoring for failed login attempts substantially reduce exploitation likelihood. |
| Impact | This vulnerability presents a LOW but REAL risk despite its modest CVSS 2.1 score. The CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates network-based remote exploitation but requires low-privilege authentication - a crucial limiting factor that significantly reduces exposure compared to unauthenticated vectors. The EPSS score of 0.04% (14th percentile) reflects low likelihood of widespread automated exploitation, aligning with the authentication barrier. However, the presence of publicly available exploit code is a material risk factor for targeted attacks against instances with compromised or default low-privilege credentials. The impact is intentionally limited (VC:L/VI:L/VA:L) by the CVSSv4 scope constraint (SC:N), suggesting the vulnerability affects only the application itself, not underlying systems. Real-world risk depends critically on: (1) whether instances allow low-privilege admin account creation, (2) credential reuse/default credentials, and (3) PHP execution permissions on the upload directory. Organizations with strong access controls and non-executable upload directories face substantially lower risk than those with permissive admin account provisioning. This is NOT a critical vulnerability requiring emergency patching, but it IS a priority for inventory and targeted remediation in environments with known admin account compromise or weak credential hygiene. |
| Exploit ScenarioDerived | An attacker with low-privilege admin credentials (obtained via credential stuffing, phishing, or public disclosure) logs into the Online Hotel Reservation System and navigates to the hotel/room addition function. They craft a POST request to /admin/addexec.php with a PHP webshell disguised as a JPEG image (e.g., shell.php.jpg or shell.php with image magic bytes prepended). The lack of file type validation allows the PHP file to be uploaded to a web-accessible directory. If the upload directory has PHP execution enabled, the attacker can then request the uploaded PHP file via HTTP to execute arbitrary code as the web server user, achieving remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unrestricted file upload in code-projects Online Hotel Reservation System 1.0 allows authenticated remote attackers to upload arbitrary files via the image parameter in /admin/addexec.php, potentially leading to remote code execution. The vulnerability has a low CVSS score (2.1) due to requirement for low-privilege authentication and limited impact scope, but publicly available exploit code exists and the issue affects confidentiality, integrity, and availability at the application layer.
RemediationAI
Primary remediation requires applying a security patch from the vendor; however, no patched version is currently identified in the provided references. Organizations should immediately contact code-projects through https://code-projects.org/ to request a security update or confirmation of availability. As an interim compensating control, restrict access to /admin/addexec.php and the /admin/ directory to trusted IP addresses only via web server configuration (e.g., Apache .htaccess or nginx location block), and configure the upload directory with execute permissions explicitly disabled (e.g., chmod 644, or add .htaccess with 'php_flag engine off'). Additionally, implement strict file type validation at the application level by whitelisting only image MIME types (image/jpeg, image/png, image/gif) and enforcing server-side verification via file magic bytes rather than extension checking. If administratively feasible, generate audit logs for all file uploads to /admin/addexec.php and monitor for unexpected file types or sizes. These controls trade ease of administration for security; verify that legitimate admin workflows are not disrupted by IP restrictions before deployment.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the PHP file /admin/addexec.php, a backend administrative script responsible for executing hotel reservation operations. The file implements improper input validation on the image parameter, failing to enforce file type restrictions, MIME type verification, or upload destination isolation. This is rooted in CWE-284 (Improper Access Control), where the system does not adequately restrict who can upload files or enforce what file types are permissible. The absence of proper authentication checks on the file upload handler combined with inadequate file validation mechanisms creates a direct path to arbitrary file placement on the server, which combined with PHP execution privileges can lead to code execution.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security vulnerability has been detected in code-projects Online Hotel Reservation System 1.0. This affects an unknown function of the file /admin/addexec.php. Such manipulation of the argument image leads to unrestricted upload. The attack can be executed remotely. The exploit has been disclosed publicly 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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)CVE.org
CVE-2025-6355 is a critical SQL injection vulnerability in SourceCodester Online Hotel Reservation System version 1.0, s
SQL injection in the login endpoint of Campcodes Online Hotel Reservation System 1.0 enables unauthenticated remote atta
CVE-2025-6458 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, af
CVE-2025-6457 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0 affecting t
CVE-2025-6456 is a critical SQL injection vulnerability in code-projects Online Hotel Reservation System 1.0, specifical
CVE-2025-6455 is a SQL injection vulnerability in code-projects Online Hotel Reservation System version 1.0, specificall
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
A vulnerability classified as critical was found in SourceCodester Online Hotel Reservation System 1.0. Rated medium sev
A vulnerability classified as critical has been found in SourceCodester Online Hotel Reservation System 1.0. Rated mediu
A flaw has been found in Reservation Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), this vulnera
A vulnerability was detected in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9), th
A vulnerability was identified in SourceCodester Online Hotel Reservation System 1.0. Rated medium severity (CVSS 6.9),
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB