CVE-2024-3605
CRITICAL
9.8
CVSS 3.1
Description
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.
Affected WordPress components
-
WP Hotel Booking Plugin · wp-hotel-bookingUp to and including 2.1.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- thimpress WP Hotel Booking — Up to and including 2.1.0
- thimpress wp_hotel_booking — Up to and including 2.1.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3105864%40wp-hotel-booking&new=3105864%40wp-hotel-booking&sfp_email=&sfph_mail=
- wordpress.org https://wordpress.org/plugins/wp-hotel-booking/ Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/5931ad4e-7de3-41ac-b783-f7e58aaef569?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record