10.0Critical

CVE-2024-3605WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection

thimpress WP Hotel Booking; thimpress wp_hotel_booking Published: (2 years ago)

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.

Weakness (CWE): CWE-89

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
thimpress WP Hotel Booking ≤ 2.1.0

References and patches