First published: Thu Jun 20 2024(Updated: )
The WP Hotel Booking plugin for WordPress is vulnerable to SQL Injection via the 'room_type' 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.
Credit: security@wordfence.com
Affected Software | Affected Version | How to fix |
---|---|---|
ThimPress WP Hotel Booking | <=2.1.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-3605 has been assessed as a medium severity vulnerability.
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.
To fix CVE-2024-3605, update the WP Hotel Booking plugin to version 2.1.1 or later, which addresses the vulnerability.
CVE-2024-3605 affects all versions of the WP Hotel Booking plugin up to and including version 2.1.0.
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.