Woffice Core <= 5.4.26 - Authenticated (Contributor+) Arbitrary File Deletion

Strategic Overview

Status
Patched in 5.4.27
Affected PluginWoffice Core
Affected Version<= 5.4.26
CVSS6.8Medium
CVECVE-2025-7694
View all Woffice Core vulnerabilities

Vulnerability Overview

The Woffice Core plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the woffice_file_manager_delete() function in all versions up to, and including, 5.4.26. This makes it possible for authenticated attackers, with Contributor-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

Technical Analysis

REMEDIATION: Update to version 5.4.27, or a newer patched version --- IDENTIFIER: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

External References

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