WordPress Plugin Vulnerabilities
WP Hotel Booking < 1.10.4 - Unauthenticated PHP Object Injection
Description
The plugin unserialised the value in the thimpress_hotel_booking_1 cookie without sanitisation, which could lead to an unauthenticated PHP Object Injection. If the plugin is installed on WP < 5.5.2, then there is a suitable gadget chain to obtain RCE, otherwise, another gadget chain will have to be used (ie from another installed plugin for instance).
The fix attempted in 1.10.3 (ie sanitising the cookie value through sanitize_text_field()) does nothing against PHP Object Injection and the plugin was still vulnerable, despite the original advisory stating that the issue has been fixed. This has been escalated to the WordPress plugin team on March 4th, 2021 and version 1.10.4 released on March 19th, 2021 fixed the issue.
Proof of Concept
Affects Plugins
References
Classification
Type
OBJECT INJECTION
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Nick Blundell, AppCheck Ltd
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2020-12-08 (about 5 years ago)
Added
2021-03-09 (about 5 years ago)
Last Updated
2021-03-20 (about 5 years ago)