CVE-2024-42558: Hotel Management System · SQL Injection
Source CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-42558, organizations should immediately implement the following measures: 1) Apply any available patches or updates from the vendor; if none are available, consider temporary workarounds such as disabling the vulnerable functionality or restricting access to the admin_modify_room.php script via network controls. 2) Implement strict input validation and sanitization on the book_id parameter to ensure only expected numeric or alphanumeric values are accepted. 3) Use parameterized queries or prepared statements in the application code to prevent SQL injection. 4) Restrict database user permissions to the minimum necessary, avoiding use of high-privilege accounts for web application database connections. 5) Employ web application firewalls (WAFs) with rules designed to detect and block SQL injection attempts targeting this parameter. 6) Conduct thorough code reviews and security testing of the application to identify and remediate similar injection flaws. 7) Monitor logs for suspicious activity related to the vulnerable endpoint and prepare incident response plans in case of exploitation. 8) Educate development teams on secure coding practices to prevent recurrence of injection vulnerabilities.
Description
Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the book_id parameter at admin_modify_room.php.