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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published: 2024-06-20T02:08:22.137Z

Updated: 2024-08-01T20:12:08.108Z

Reserved: 2024-04-10T17:04:58.543Z

Link: CVE-2024-3605

cve-icon Vulnrichment

Updated: 2024-08-01T20:12:08.108Z

cve-icon NVD

Status : Modified

Published: 2024-06-20T02:15:10.817

Modified: 2024-11-21T09:29:58.370

Link: CVE-2024-3605

cve-icon Redhat

No data.