WP Hotel Booking <= 2.0.8 - Insufficient Authorization to Unauthorized Post Deletion

2023-10-26 00:00
Erwan LR

Strategic Overview

Status
Patched in 2.0.9
Affected PluginWP Hotel Booking
Affected Version<= 2.0.8
CVSS4.3Medium
CVECVE-2023-5799
View all WP Hotel Booking vulnerabilities

Vulnerability Overview

The WP Hotel Booking plugin for WordPress is vulnerable to unauthorized modification of data due to insufficient authorization checks on the tp_extra_package_remove() function hooked via AJAX in all versions up to, and including, 2.0.7. This makes it possible for authenticated attackers, with contributor-level access and above, to delete arbitrary posts. While the patch for CVE-2023-5651 ensured subscriber-level users couldn't delete arbitrary posts, the checks were not sufficient in preventing higher authenticated users such as contributors from deleting arbitrary posts.

Technical Analysis

REMEDIATION: Update to version 2.0.9, or a newer patched version --- IDENTIFIER: CWE-863 (Incorrect Authorization) The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C