Hotel and Lodge Management System
CVE-2025-11470
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or breach
-
DeliveryAccess /manage_website.php admin panel
-
ExploitNavigate to image upload form
-
ExecutionUpload PHP shell as image file
-
PersistAccess uploaded shell via web path
-
ImpactExecute arbitrary PHP code
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 | High-level administrative privileges are required to access /manage_website.php and submit file uploads via the website_image or back_login_image parameters. The attacker must either possess valid administrative credentials or compromise an administrator account through credential theft, phishing, or social engineering. The system must have PHP execution enabled in the upload directory (default configuration). No special system configuration beyond standard SourceCodester deployment is required - the vulnerability exists in default installations. Exploitation is limited by the requirement to authenticate as an administrator; the application does not allow unauthenticated file uploads. However, many instances may run with default or weak administrative credentials, expanding the effective attack surface. The web server's file execution settings (whether .php files in the upload directory are executed) determine whether uploaded files can achieve remote code execution or are treated as static content. |
| Impact | This vulnerability presents a moderate real-world risk despite its low CVSS score of 2.0. The CVSS vector shows attack vector network (AV:N), low attack complexity (AC:L), and high privilege requirement (PR:H), which correctly identifies that only administrators can exploit this flaw. However, the EPSS score of 0.05% (16th percentile) indicates historically low exploitation frequency in the wild, suggesting this is not currently a widespread threat. The presence of publicly available exploit code lowers the barrier to exploitation for attackers who already have or can obtain administrative credentials. CWE-284 (Improper Access Control) combined with unrestricted file upload is a known pattern that frequently leads to remote code execution post-exploitation. The limited confidentiality, integrity, and availability impact scores (VC:L, VI:L, VA:L) in the CVSS vector suggest vendor-assessed impact is contained, possibly because successful exploitation requires multiple prerequisites or the system architecture limits post-exploitation damage. Real-world risk depends heavily on deployment context: exposed administrative panels with weak or default credentials dramatically increase threat level; internal-only deployments with strong access controls present minimal risk. Organizations must assess whether their administrators may be compromised or socially engineered. |
| Exploit ScenarioDerived | An attacker with stolen or guessed administrative credentials logs into the SourceCodester Hotel and Lodge Management System admin panel. The attacker navigates to the website management section and locates the website_image or back_login_image upload field. Instead of uploading a legitimate image file, the attacker uploads a PHP shell (e.g., shell.php renamed to shell.jpg) or a double-extension file (shell.php.jpg). Once uploaded, the attacker accesses the uploaded file's web-accessible path and executes arbitrary PHP code with the privileges of the web server process, achieving remote code execution. Alternatively, if the upload directory is within the web root and PHP execution is not disabled, the attacker may directly execute the uploaded shell via HTTP request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unrestricted file upload in SourceCodester Hotel and Lodge Management System version 1.0 allows high-privileged authenticated attackers to upload arbitrary files via the website_image or back_login_image parameters in /manage_website.php, potentially enabling remote code execution. Publicly available exploit code exists, though the low CVSS score of 2.0 reflects the requirement for high-level administrative privileges to trigger the vulnerability.
RemediationAI
No vendor-released patch has been identified at time of analysis. Immediate mitigation requires: (1) restrict access to /manage_website.php and administrative functions to trusted IP ranges or VPN only, using web server firewall rules or application-level authentication layers; (2) implement strict file upload validation on the website_image and back_login_image parameters, including file type whitelist (JPEG, PNG only), MIME type verification, and file extension checking with server-side validation; (3) disable PHP execution in the upload directory by configuring the web server to block .php, .phtml, .php3, .php4, .php5, .phar execution (Apache: add 'php_flag engine off' or use .htaccess; nginx: use 'location ~ \.php$ {deny all;}'); (4) rename uploaded files to remove user-supplied extensions and store them outside the web root if possible; (5) audit administrator accounts for unauthorized access and enforce strong, unique passwords; (6) monitor /manage_website.php access logs for suspicious upload patterns. If a patch becomes available from SourceCodester or the maintainer, apply it immediately. Until remediation is complete, disable the website image upload feature entirely by modifying /manage_website.php to reject all file uploads.
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 exists in the /manage_website.php file, a PHP-based administrative interface for managing hotel website settings. The affected parameters (website_image and back_login_image) are intended to handle image uploads for website branding and login page customization. The file upload mechanism fails to properly validate or sanitize uploaded files, allowing attackers with high privileges to bypass file type restrictions and upload executable files (such as PHP shells). CWE-284 (Improper Access Control) indicates that authentication and authorization checks are insufficient - specifically, the access controls do not properly restrict who can upload files or what file types are permissible. The vulnerability is present in a widely distributed open-source PHP application, making the attack surface large among deployments that expose administrative interfaces.
Know when Hotel And Lodge Management 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:H/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 SourceCodester Hotel and Lodge Management System up to 1.0. The impacted element is an unknown function of the file /manage_website.php. The manipulation of the argument website_image/back_login_image leads to unrestricted upload. The attack is possible to be carried out 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
Sourcecodester Hotel and Lodge Management System 1.0 is vulnerable to unauthenticated SQL injection and can allow remote
Remote SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows attackers to manipulate database que
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows unauthenticated remote attackers to manipul
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows remote attackers to manipulate database que
SQL injection in the login page of SourceCodester Hotel and Lodge Management System 1.0 allows remote unauthenticated at
Unrestricted file upload vulnerability in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remo
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to manipulat
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to manipulat
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to execute a
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to manipulat
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to manipulat
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to manipulat
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB