Skip to main content

CVE-2025-7694: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in WofficeIO Woffice Core

Medium
VulnerabilityCVE-2025-7694cvecve-2025-7694cwe-22
Published: Sat Aug 02 2025 (08/02/2025, 03:28:18 UTC)
Source: CVE Database V5
Vendor/Project: WofficeIO
Product: Woffice Core

Description

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).

AI-Powered Analysis

AILast updated: 08/10/2025, 00:57:08 UTC

Technical Analysis

CVE-2025-7694 is a path traversal vulnerability classified under CWE-22 affecting the Woffice Core plugin for WordPress. This vulnerability arises from insufficient validation of file paths in the woffice_file_manager_delete() function present in all versions up to and including 5.4.26. Authenticated users with Contributor-level privileges or higher can exploit this flaw to delete arbitrary files on the server. The lack of proper pathname restriction allows attackers to traverse directories and target critical files outside the intended directory scope. Deleting sensitive files such as wp-config.php can lead to severe consequences, including remote code execution (RCE), as the deletion of configuration files may disrupt normal application behavior or enable attackers to upload malicious payloads or manipulate the environment. The vulnerability has a CVSS 3.1 base score of 6.8, indicating a medium severity level, with the vector highlighting network attack vector (AV:N), high attack complexity (AC:H), low privileges required (PR:L), no user interaction (UI:N), unchanged scope (S:U), no confidentiality impact (C:N), high integrity impact (I:H), and high availability impact (A:H). No known exploits are currently reported in the wild, but the potential for exploitation exists due to the nature of the vulnerability and the common use of WordPress and its plugins. The vulnerability was published on August 2, 2025, and was reserved on July 15, 2025. No official patches have been linked yet, so mitigation currently relies on access control and monitoring measures.

Potential Impact

For European organizations, this vulnerability poses a significant risk, especially for those relying on WordPress sites using the Woffice Core plugin for intranet, extranet, or collaboration platforms. The ability for an authenticated user with relatively low privileges to delete arbitrary files can lead to service disruption, data loss, and potential full system compromise via remote code execution. This can impact the integrity and availability of critical web services, potentially causing operational downtime and reputational damage. Given the widespread adoption of WordPress in Europe across various sectors including government, education, and private enterprises, the threat could affect a broad range of organizations. The medium CVSS score reflects the complexity of exploitation but does not diminish the potential for impactful attacks if exploited. The absence of known exploits in the wild suggests a window of opportunity for proactive defense. However, once exploited, the consequences could be severe, particularly for organizations with sensitive data or critical infrastructure hosted on vulnerable WordPress instances.

Mitigation Recommendations

1. Immediate mitigation should include restricting Contributor-level and higher privileges to trusted users only, minimizing the attack surface. 2. Implement strict monitoring and logging of file deletion activities within the WordPress environment to detect suspicious behavior early. 3. Employ Web Application Firewalls (WAFs) with custom rules to detect and block path traversal attempts targeting the woffice_file_manager_delete() function. 4. Conduct a thorough audit of all WordPress plugins and remove or disable Woffice Core if not essential until an official patch is released. 5. Use file integrity monitoring tools to alert on unexpected deletions or modifications of critical files such as wp-config.php. 6. Segregate the WordPress environment with least privilege principles at the OS level to limit the impact of file deletions. 7. Prepare incident response plans specifically addressing potential file deletion and RCE scenarios related to this vulnerability. 8. Stay updated with vendor announcements for patches and apply them promptly once available.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-07-15T20:01:09.691Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 688d8a60ad5a09ad00d0f58e

Added to database: 8/2/2025, 3:47:44 AM

Last enriched: 8/10/2025, 12:57:08 AM

Last updated: 9/15/2025, 9:58:19 AM

Views: 35

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats