Skip to main content
VulnerabilityPublished Updated

CVE-2024-42556: Hotel Management System · SQL Injection

Source CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% 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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-42556, organizations should immediately implement the following measures: 1) Conduct a comprehensive audit to identify all instances of the affected Hotel Management System and the presence of the vulnerable admin_room_removed.php script. 2) Apply input validation and sanitization on the room_type parameter, ensuring that all user inputs are properly escaped or filtered to prevent SQL injection. 3) Refactor database queries to use parameterized statements or prepared statements rather than dynamic SQL construction. 4) Restrict database user permissions to the minimum necessary, limiting the potential damage from successful exploitation. 5) Monitor logs for unusual database query patterns or errors indicative of injection attempts. 6) Deploy web application firewalls (WAFs) with rules designed to detect and block SQL injection payloads targeting this parameter. 7) Develop and test patches or updates from the software vendor as soon as they become available, and apply them promptly. 8) Educate development and operations teams about secure coding practices to prevent similar vulnerabilities in the future. 9) Prepare incident response plans to quickly address any exploitation attempts or breaches related to this vulnerability.

Description

Hotel Management System commit 91caab8 was discovered to contain a SQL injection vulnerability via the room_type parameter at admin_room_removed.php.

References

Community reviews

Loading reviews…