CVE-2024-25315
CWE-89Published: February 9, 2024· Updated: Jun 17, 2026
Official Description
Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'rid' parameter in Hotel/admin/roombook.php?rid=2.
Risk Analysis
A SQL injection vulnerability exists in the Hotel Management System 1.0 via the 'rid' parameter, enabling remote attackers to compromise the database. The flaw is rated as critical with a CVSS score of 9.8.
No public exploit is known, and the vulnerability is not in the KEV database. It is remotely exploitable.
Apply input validation to the 'rid' parameter or replace the vulnerable software. Ensure that database queries are parameterized to prevent injection.
Technical Analysis
CVE-2024-25315 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
All References (2)
Quick Facts
Related CVEs (CWE-89)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-25315 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts