Hotel and Lodge Management System
CVE-2025-11401
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with valid credentials
-
DeliveryCraft SQL injection payload in currcode parameter
-
ExploitSubmit POST/GET request to /pages/save_curr.php
-
ExecutionMalicious SQL executes in database context
-
PersistExtract or modify sensitive data
-
ImpactExfiltrate or corrupt results
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid authentication to the Hotel and Lodge Management System - an unauthenticated remote attacker cannot trigger this SQL injection. The currcode parameter in the /pages/save_curr.php endpoint must accept unsanitized input without parameterized queries or prepared statements. The application must be reachable over the network, but no special configuration is required; default installations of version 1.0 are vulnerable if authentication is enabled. Exploitation is limited to users with legitimate login access, reducing the attack surface significantly compared to unauthenticated remote code execution vulnerabilities. |
| Impact | This vulnerability presents minimal real-world risk despite having a published exploit. The CVSS 4.0 vector reveals critical limiting factors: authentication is required (PR:L), indicating only logged-in users can exploit this; the scope is unchanged (S:X - unchanged), meaning impact is confined to the application's security context; and confidentiality, integrity, and availability impacts are all low (VC:L/VI:L/VA:L). The EPSS score of 0.03% (8th percentile) reflects very low likelihood of mass exploitation in the wild, typical for management system vulnerabilities targeting niche deployments rather than widespread platforms. No evidence indicates active exploitation in CISA KEV or breach reporting. The contradiction between 'exploit published' and low EPSS is explained by the authenticated requirement - while a POC exists for developers or penetration testers to reference, automated mass exploitation is impractical because attackers require valid login credentials first. Organizations running this system should prioritize patching critical remote code execution vulnerabilities or unauthenticated flaws ahead of this SQL injection, which is suitable for regular patching cycles rather than emergency response. |
| Exploit ScenarioDerived | An authenticated user logs into the Hotel and Lodge Management System with valid credentials, navigates to the currency code management interface that submits requests to /pages/save_curr.php, and injects a crafted SQL payload (e.g., currcode=USD' OR '1'='1) to bypass query logic. The attacker extracts sensitive database information such as guest records or financial data, or modifies currency conversion rates to cause business logic errors. The published POC (https://github.com/TThuyyy/cve1/issues/9) provides step-by-step instructions for constructing and delivering such payloads. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in SourceCodester Hotel and Lodge Management System 1.0 allows authenticated remote attackers to manipulate the currcode parameter in /pages/save_curr.php, enabling arbitrary SQL query execution with limited confidentiality and integrity impact. CVSS 2.1 reflects the authentication requirement (PR:L) and restricted scope, but publicly available exploit code exists despite low EPSS score (0.03%), suggesting this is a low-priority threat suitable only for defense-in-depth and secure coding reviews rather than emergency patching.
RemediationAI
No vendor-released patch identified at time of analysis - SourceCodester has not published an official update for version 1.0 addressing CVE-2025-11401. Organizations should contact the vendor at https://www.sourcecodester.com/ to inquire about patch availability or migration to a newer version. As immediate compensating controls, restrict database account permissions used by /pages/save_curr.php to read-only or least-privilege operations (limiting data an attacker can modify), implement database query logging to detect suspicious SQL patterns, use Web Application Firewall (WAF) rules to block requests containing SQL metacharacters in the currcode parameter, and enforce principle of least privilege by auditing which users have access to the system. If upgrading is necessary, validate the upgrade path with the vendor. Given the low EPSS and authentication requirement, patching can be scheduled in regular maintenance windows rather than emergency change control.
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 is a SQL injection (CWE-74: Improper Neutralization of Special Elements used in an SQL Command) in a PHP-based hotel management application. The /pages/save_curr.php script fails to properly sanitize or parameterize the currcode input parameter before incorporating it into SQL queries. This allows an authenticated user to craft malicious input containing SQL metacharacters (e.g., single quotes, UNION operators) to alter query logic, extract data, or modify database contents. The CPE cpe:2.3:a:nikhil-bhalerao:hotel_and_lodge_management_system:1.0 identifies the exact affected product and version developed by Nikhil Bhalerao.
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 flaw has been found in SourceCodester Hotel and Lodge Management System 1.0. Affected is an unknown function of the file /pages/save_curr.php. This manipulation of the argument currcode causes sql injection. The attack is possible to be carried out 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.
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