Patchfirst
CVE-2024-3605 Public exploit Critical · 10.0 EPSS 4.2%

WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection

No fixed version listed yet.Check the vendor advisory. References ↓

thimpress · WP Hotel Booking

Summary

The WP Hotel Booking plugin for WordPress, from thimpress, contains an SQL injection flaw in the 'room_type' parameter of its /wphb/v1/rooms/search-rooms REST API endpoint, caused by insufficient escaping and a lack of prepared statements around the query. An unauthenticated attacker with network access can append additional SQL queries to the existing query over that endpoint, without needing credentials or any user interaction, to extract sensitive information from the database.

Official description · CVE.org

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.

Breakdown
70.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 22 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 7 months after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+7 mo
  3. First seen exploitedVulnCheck KEV evidence+22 mo

Affected versions and fixes

as published in the CVE record

thimpress WP Hotel Booking

Affected: <= 2.1.0

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close