Hotel and Lodge Management System
CVE-2025-11398
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid credentials
-
DeliveryAuthenticate to application
-
ExploitNavigate to profile page
-
InstallCraft malicious file upload request
-
C2Bypass upload validation
-
ExecuteFile written to server
-
ImpactAccess uploaded file for code execution
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 | The vulnerability requires the attacker to possess valid authentication credentials for the Hotel and Lodge Management System. This is the primary gate limiting exploitation. The attack targets the /profile.php endpoint specifically, which must be accessible on the deployed instance. No special configuration or non-default settings are required - the vulnerability exists in default installations. The image parameter accepts file uploads without proper validation on that endpoint. Exploitation is feasible remotely over HTTP/HTTPS from any network location where the application is accessible. The vulnerability does NOT require administrator or elevated privileges - any authenticated user account (including guest or basic user roles) can likely trigger the upload. Limitation: the attacker must first obtain valid credentials, which may come from credential reuse, weak passwords, initial onboarding data, or database compromise elsewhere. The CVSS vector (PR:L) confirms that standard user-level authentication is sufficient. |
| Impact | This vulnerability presents low real-world risk despite network accessibility and available exploit code. The CVSS v4.0 score of 2.1 reflects the significant limiting factors: authentication requirement (PR:L), limited confidentiality/integrity/availability impact (VC:L/VI:L/VA:L), and exploitation probability (E:P) indicating proof-of-concept availability without widespread active exploitation. The EPSS score of 0.04% (13th percentile) confirms low exploitation likelihood in practice, suggesting this is primarily a concern for installations with untrusted internal users rather than external threat actors. The combination of authentication gate, confined impact scope, and low EPSS percentile indicates this should be remediated in standard patching cycles rather than treated as emergency. However, if the uploaded files achieve code execution (e.g., PHP files in web root), impact could escalate significantly - the current CVSS scope (S:X) suggests no scope change, but file execution is context-dependent and warrants verification. |
| Exploit ScenarioDerived | An authenticated user with a valid account logs into the Hotel and Lodge Management System and navigates to their profile page. The attacker then submits a crafted POST request to /profile.php with the image parameter containing a PHP webshell or other malicious file. Due to insufficient upload validation, the file is written to the server's upload directory without proper extension or type checking. If the upload directory is web-accessible and execution is not disabled, the attacker can then access the uploaded file directly to achieve code execution. Publicly available proof-of-concept code streamlines this attack for even low-skill attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unrestricted file upload vulnerability in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to upload arbitrary files via manipulation of the image parameter in /profile.php, with publicly available exploit code and low real-world risk despite network accessibility due to authentication requirement and minimal impact scope.
RemediationAI
Update SourceCodester Hotel and Lodge Management System to a patched version released by the vendor. If no patched version is currently available, implement immediate compensating controls: (1) Restrict the /profile.php endpoint to HTTPS-only with strong TLS to prevent interception of authentication credentials, (2) Configure web server (Apache/Nginx) to prevent execution of scripts in the upload directory via .htaccess or server blocks (e.g., disable PHP execution in upload folders), (3) Implement strict server-side file type validation checking actual file content (magic bytes) not just extension, rejecting all non-image MIME types, (4) Store uploads outside the web root or in a directory with no execution permissions, (5) Rename uploaded files to remove original extensions and use a whitelist of allowed image extensions (.jpg, .png, .gif only). Monitor the vendor's security advisory at sourcecodester.com for official patch release. Note that restricting uploads to non-executable locations is the most effective control but requires application architecture review.
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 Profile Page component (/profile.php) of the SourceCodester Hotel and Lodge Management System, a PHP-based hotel management application. The affected code fails to properly validate or restrict file uploads when processing the image parameter, falling under CWE-284 (Improper Access Control). While the application requires authentication (PR:L per CVSS vector), the upload validation mechanism is insufficient to prevent arbitrary file types from being written to the server. The PHP file upload handling likely lacks proper MIME type validation, extension whitelisting, or secure storage location configuration, allowing an authenticated user to bypass intended upload restrictions.
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: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 weakness has been identified in SourceCodester Hotel and Lodge Management System 1.0. The impacted element is an unknown function of the file /profile.php of the component Profile Page. Executing manipulation of the argument image can lead to unrestricted upload. The attack may be launched remotely. The exploit has been made available to the public and could be exploited.
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
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
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