Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target via web scanning
-
DeliverySend crafted GET/POST to /admin/roomdelete.php
-
ExploitInject SQL via ID parameter
-
ExecutionExtract database credentials
-
PersistDump customer/reservation data
-
ImpactModify or delete records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Real-world risk is moderate to high despite the 7.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-accessible exploitation with low complexity requiring no authentication or user interaction, making this trivially exploitable. The E:P (Proof-of-concept) modifier confirms publicly available exploit code exists on GitHub Gist, significantly lowering the barrier to exploitation. However, several factors constrain actual risk: this affects a niche open-source project with likely limited deployment footprint; the /admin/ path suggests the endpoint may require prior administrative access despite PR:N rating (contradictory signals); and impact is rated only partial across CIA triad (C:L/I:L/A:L). No CISA KEV listing indicates no confirmed active exploitation in enterprise environments. SSVC assessment: exploitation is proven (POC exists), attack is automatable (SQLi tools readily available), technical impact is partial (database access but not full system compromise). Priority depends heavily on whether this application is internet-facing and contains sensitive customer data. For organizations using this software, this is a critical priority; for general threat landscape, it represents low-prevalence risk. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies a hotel management system instance running the vulnerable software through reconnaissance of publicly accessible web applications. Using the publicly available exploit code from GitHub Gist, the attacker crafts a malicious HTTP request to /admin/roomdelete.php with a SQL injection payload in the ID parameter (e.g., ID=1' UNION SELECT username,password,3 FROM admin_users--). The injected SQL commands execute without authentication, allowing the attacker to extract administrative credentials, modify reservation data, delete room records, or escalate to full database compromise including customer personal information and payment details. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 13, 2026
SQL injection in tushar-2223 Hotel Management System /admin/roomdelete.php allows unauthenticated remote attackers to manipulate database queries via the ID parameter, potentially compromising confidentiality, integrity, and availability of hotel management data. Publicly available exploit code exists (CVSS 7.3, EPSS not provided). The vulnerability affects all versions up to commit bb1f3b3666124b888f1e4bcf51b6fba9fbb01d15 in this rolling-release project, and the maintainer has not responded to responsible disclosure attempts.
RemediationAI
No vendor-released patch identified at time of analysis. The maintainer was notified via GitHub issue #15 but has not responded or released a fix (RL:X - Remediation Level not defined indicates no official patch). Users should immediately implement workarounds: restrict network access to /admin/roomdelete.php to trusted IP addresses only via web server configuration (Apache .htaccess or Nginx location blocks), implement web application firewall rules to block SQL injection patterns in the ID parameter, or disable the room deletion functionality entirely until a patch is available. Organizations should consider migrating to actively maintained hotel management solutions with security-focused development practices. Monitor the GitHub repository at github.com/tushar-2223/Hotel-Management-System for future security updates. Reference the vulnerability disclosure at vuldb.com/vuln/357006 and exploit analysis at the GitHub Gist linked in references for technical details needed to craft WAF rules.
Affected VersionsENISA
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
This is a classic SQL injection (CWE-89) vulnerability in a PHP-based hotel management application. The /admin/roomdelete.php endpoint fails to properly sanitize the ID parameter before incorporating it into SQL queries. SQL injection occurs when user-controlled input is directly concatenated into SQL statements without parameterization or escaping, allowing attackers to inject arbitrary SQL commands. In PHP applications, this typically manifests through inadequate use of prepared statements or missing input validation on parameters passed via GET/POST requests. The vulnerability exists in tushar-2223's Hotel Management System, an open-source project hosted on GitHub that appears to lack security-focused development practices.
Know when Hotel 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:N/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
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was identified in tushar-2223 Hotel Management System up to bb1f3b3666124b888f1e4bcf51b6fba9fbb01d15. Affected by this vulnerability is an unknown functionality of the file /admin/roomdelete.php. The manipulation of the argument ID leads to sql injection. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The project was informed of the problem early through an issue report but has not responded yet.
Executive ViewAI
The tushar-2223 Hotel Management System contains an unauthenticated SQL injection vulnerability in the room deletion function that allows attackers to directly manipulate database queries and access, modify, or delete critical hotel operational data without authentication. Organizations using this system face immediate risk to guest records, booking data, and financial information, with public exploit code already available to threat actors.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /admin/roomdelete.php via IP allowlisting or VPN requirement; (2) Deploy WAF with SQL injection detection rules; (3) Implement database activity monitoring and alerting on unexpected query patterns; (4) Apply strict input validation and parameterized queries via code-level fix if in-house development resources available; (5) Enforce principle of least privilege on database user accounts; (6) Maintain isolated, encrypted backups of hotel management database for recovery.
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.
Related Vulnerabilities in code-projects Vehicle Showroom Management SQL Injection
View all 6More in Hotel Management System
View allHotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter
Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type paramet
Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'eid' parameter in Hotel/admin/usersettingdel.php?
Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'rid' parameter in Hotel/admin/roombook.php?rid=2
Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'sid' parameter in Hotel/admin/show.php?sid=2. Ra
An Incorrect Access Control vulnerability was found in /admin/edit_room_controller.php in Kashipara Hotel Management Sys
An Incorrect Access Control vulnerability was found in /admin/add_room_controller.php in Kashipara Hotel Management Syst
A Cross-Site Request Forgery (CSRF) in the component admin_modify_room.php of Hotel Management System commit 91caab8 all
A Cross-Site Request Forgery (CSRF) in the component admin_room_removed.php of Hotel Management System commit 91caab8 al
Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type paramet
A Cross-Site Request Forgery (CSRF) in the component admin_room_added.php of Hotel Management System commit 91caab8 allo
Code-projects Hotel Managment System 1.0 allows SQL Injection via the 'pid' parameter in Hotel/admin/print.php?pid=2. Ra
EUVD-2026-21770
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB