SQL Injection Vulnerability in WP Hotel Booking Plugin

CVE-2024-3605
10CRITICAL

Key Information

Vendor
Thimpress
Status
WP Hotel Booking
Vendor
Published:
20 June 2024

Summary

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 Version(s)

WP Hotel Booking <= 2.1.0

CVSS V3.1

Score:
10
Severity:
CRITICAL

Timeline

  • Vulnerability published.

  • Disclosed

  • Vulnerability Reserved.

Collectors

NVD DatabaseMitre Database

Credit

Krzysztof Zając
.