WPBookit <= 1.0.6 - Unauthenticated Arbitrary File Upload via image_upload_handle Function

2025-07-23 16:22
theviper17y

Strategic Overview

Status
Patched in 1.0.7
Affected PluginWPBookit
Affected Version<= 1.0.6
CVSS9.8Critical
CVECVE-2025-7852
View all WPBookit vulnerabilities

Vulnerability Overview

The WPBookit plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the image_upload_handle() function hooked via the 'add_new_customer' route in all versions up to, and including, 1.0.6. The plugin’s image‐upload handler calls move_uploaded_file() on client‐supplied files without restricting allowed extensions or MIME types, nor sanitizing the filename. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

Technical Analysis

REMEDIATION: Update to version 1.0.7, or a newer patched version --- IDENTIFIER: CWE-434 (Unrestricted Upload of File with Dangerous Type) The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.

External References

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