CVE-2024-3605
WP Hotel Booking <= 2.1.0 - Unauthenticated SQL Injection
criticalImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
10.0
CVSS Score
10.0
CVSS Score
critical
Severity
2.1.1
Patched in
22d
Time to patch
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HAttack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
High
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<=2.1.0PublishedJune 19, 2024
Last updatedJuly 11, 2024
Affected pluginwp-hotel-booking
Source Code
WordPress.org SVNVulnerable v2.1.0
Patched v2.1.1
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.