Hotel Booking Lite <= 4.8.4 - Insufficient Path Validation to Unauthenticated Arbitrary File Deletion and Download

9.8
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2023-5991
CVSS 9.8 (Critical)
Publicly Published December 1, 2023
Last Updated February 6, 2024
Researcher Krzysztof Zając - CERT PL

Description

The Hotel Booking Lite plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the maybeDownload() function and insufficient path validation in all versions up to 4.8.5 (exclusive). This makes it possible for unauthenticated to retrieve and delete arbitrary files which can be leveraged for remote code execution.

References

Share

1 affected software package

Software Type Plugin
Software Slug motopress-hotel-booking-lite (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.8.5, or a newer patched version
Affected Version
  • < 4.8.5
Patched Version
  • 4.8.5

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation