CVE-2024-3605

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

Configuration 1 (hide)

cpe:2.3:a:thimpress:wp_hotel_booking:*:*:*:*:*:wordpress:*:*

History

15 Jul 2024, 17:12

Type Values Removed Values Added
CPE cpe:2.3:a:thimpress:wp_hotel_booking:*:*:*:*:*:wordpress:*:*
References () https://wordpress.org/plugins/wp-hotel-booking/ - () https://wordpress.org/plugins/wp-hotel-booking/ - Product
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/5931ad4e-7de3-41ac-b783-f7e58aaef569?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/5931ad4e-7de3-41ac-b783-f7e58aaef569?source=cve - Third Party Advisory
CWE CWE-89
First Time Thimpress wp Hotel Booking
Thimpress
CVSS v2 : unknown
v3 : 10.0
v2 : unknown
v3 : 9.8

20 Jun 2024, 12:43

Type Values Removed Values Added
Summary
  • (es) El complemento WP Hotel Booking para WordPress es vulnerable a la inyección SQL a través del parámetro 'room_type' del endpoint de la API REST /wphb/v1/rooms/search-rooms en todas las versiones hasta la 2.1.0 incluida debido a un escape insuficiente en el parámetro proporcionado por el usuario y la falta de preparación suficiente en la consulta SQL existente. Esto hace posible que atacantes no autenticados agreguen consultas SQL adicionales a consultas ya existentes que pueden usarse para extraer información confidencial de la base de datos.

20 Jun 2024, 02:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-20 02:15

Updated : 2024-07-15 17:12


NVD link : CVE-2024-3605

Mitre link : CVE-2024-3605

CVE.ORG link : CVE-2024-3605


JSON object : View

Products Affected

thimpress

  • wp_hotel_booking
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')