CVE-2024-3605: WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection
The WP Hotel Booking plugin for WordPress is vulnerable to SQL Injection via the 'roomtype' parameter of the /wphb/v1/rooms/search-rooms REST API endpoint in all versions up to, and including, 2.1.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-3605?
CVE-2024-3605 has been assessed as a medium severity vulnerability.
How does CVE-2024-3605 affect WordPress sites?
CVE-2024-3605 allows for SQL Injection via the 'room_type' parameter in the WP Hotel Booking plugin, which can compromise the site's database.
How can I fix CVE-2024-3605?
To fix CVE-2024-3605, update the WP Hotel Booking plugin to version 2.1.1 or later, which addresses the vulnerability.
Which versions of the WP Hotel Booking plugin are affected by CVE-2024-3605?
CVE-2024-3605 affects all versions of the WP Hotel Booking plugin up to and including version 2.1.0.
What action should I take if I'm using the WP Hotel Booking plugin?
If using the WP Hotel Booking plugin, it is crucial to update to the latest version immediately to mitigate the risk of CVE-2024-3605.