CVE-2025-11472
7.3SourceCodester · Hotel and Lodge Management System
A SQL injection vulnerability in the Hotel and Lodge Management System allows remote attackers to manipulate the ID argument in edit_room.php to execute unauthorized database queries.
Executive summary
A remote SQL injection vulnerability in SourceCodester Hotel and Lodge Management System 1.0 poses a significant risk to data integrity and confidentiality.
Vulnerability
This is a SQL injection vulnerability (CWE-89) triggered via the ID argument in the edit_room.php file. The vulnerability is remotely exploitable and does not require authentication, as indicated by the CVSS vector PR:N.
Business impact
Successful exploitation of this flaw allows an attacker to interact directly with the backend database, potentially leading to unauthorized data exposure, modification, or deletion. With a CVSS score of 7.3, this vulnerability represents a high risk to business operations, as it could result in the compromise of sensitive guest information or hotel configuration data.
Remediation
Immediate Action: Since no official patch is currently available, administrators should restrict network access to the application, specifically targeting the /edit_room.php endpoint, until an update is released by the vendor.
Proactive Monitoring: Monitor database access logs for unusual query patterns, particularly those containing SQL syntax characters (e.g., single quotes, union, or sleep commands) originating from the web server.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules specifically configured to detect and block SQL injection attempts against the application.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists and is documented in the technical write-up provided by the researcher at https://github.com/TThuyyy/cve1/issues/15.
Analyst recommendation
Given the availability of a public exploit and the lack of a vendor-provided patch, users of this software must prioritize the implementation of compensating controls. We strongly recommend isolating the management system from public-facing networks until the vendor issues a secure update to remediate the underlying code vulnerability.
More SourceCodester CVEs
Sources
Originally found and disclosed by liuzhouyang1 (VulDB User), per the CVE Program record.
- VDB-327590 | SourceCodester Hotel and Lodge Management System edit_room.php sql injection Vulnerability database entry
- VDB-327590 | CTI Indicators (IOB, IOC, TTP, IOA)
- Submit #665476 | SourceCodester Hotel and Lodge Management System 1.0 SQL Injection Third-party advisory
- Exploit / PoC
- sourcecodester.com