CVE-2008-5864: SQL Injection in Joomla! Top Hotel com_tophotelmodule 1.0
- Vendor
- Joomlahbs
A SQL injection vulnerability exists in the Top Hotel (com_tophotelmodule) component version 1.0 for the Hotel Booking Reservation System (HBS) 1.0.0 on Joomla!. The vulnerability is due to insufficient sanitization of the 'id' parameter in the 'showhoteldetails' action, allowing remote attackers to inject arbitrary SQL commands via crafted requests to index.php.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary SQL commands against the backend database. This can lead to data leakage, data modification, authentication bypass, or complete compromise of the Joomla! application and its underlying data.
Mitigation
If you can’t patch tonight, do this now.
Implement web application firewall (WAF) rules to block malicious SQL injection attempts, and ensure that database accounts used by the application have the least privileges necessary. Regularly monitor logs for suspicious activity and consider disabling the vulnerable functionality until a fix is applied.
Remediation
Patch, then assume compromise.
Upgrade the Top Hotel (com_tophotelmodule) component to a version that properly sanitizes user input, or apply a patch that ensures all input parameters are validated and parameterized queries are used. If no patch is available, consider disabling the vulnerable component.
Exploits
No validated public exploits yet. Hidden: 4 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2008-5864 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-5864 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-5864?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2008-5864.
- Is there a patch for CVE-2008-5864?
- Upgrade the Top Hotel (com_tophotelmodule) component to a version that properly sanitizes user input, or apply a patch that ensures all input parameters are validated and parameterized queries are used. If no patch is available, consider disabling the vulnerable component.
- What products are affected by CVE-2008-5864?
- Joomlahbs Hotel Booking Reservation System and Joomlahbs Com Tophotelmodule.
- How severe is CVE-2008-5864?
- CVE-2008-5864 has a CVSS v2 score of 7.5 (High) and an EPSS score of 2.0% (81st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.