{"id":57652,"date":"2025-07-05T19:34:40","date_gmt":"2025-07-05T19:34:40","guid":{"rendered":""},"modified":"2025-08-09T11:58:22","modified_gmt":"2025-08-09T17:58:22","slug":"cve-2025-30992-php-local-file-inclusion-vulnerability-in-thembay-puca","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-30992-php-local-file-inclusion-vulnerability-in-thembay-puca\/","title":{"rendered":"<strong>CVE-2025-30992: PHP Local File Inclusion Vulnerability in Thembay Puca<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The PHP Local File Inclusion vulnerability, designated as CVE-2025-30992, is a critical security flaw found in the Thembay Puca software. This vulnerability is of particular concern due to its potential to facilitate unauthorized access to sensitive data or even a complete system compromise. As the bug originates from an improper control of filename for include\/require statement in a PHP program, it presents a significant <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-25178-critical-luajit-vulnerability-puts-systems-at-risk-of-compromise\/\"  data-wpil-monitor-id=\"70971\">risk to any system<\/a> running affected versions of Thembay Puca.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-30992<br \/>\nSeverity: High (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-3090-unauthenticated-remote-attack-leading-to-potential-data-leakage-and-system-compromise\/\"  data-wpil-monitor-id=\"64700\">Potential system compromise or data leakage<\/a><\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-861913903\" 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>Thembay Puca | Up to and including 2.6.33<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The PHP Remote File Inclusion vulnerability is a type of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2021-41691-sql-injection-vulnerability-in-os4ed-open-source-information-system-community\/\"  data-wpil-monitor-id=\"64201\">vulnerability that allows an attacker to inject<\/a> a remote file into the server via a PHP script. This is possible due to weak validation of the &#8216;include&#8217; and &#8216;require&#8217; statements in the script. When improperly handled, these statements can be <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48466-remote-manipulation-of-digital-outputs-via-modbus-tcp-packets\/\"  data-wpil-monitor-id=\"64280\">manipulated to include files from remote<\/a> servers, which may contain malicious code.<br \/>\nIn the case of CVE-2025-30992, the vulnerability lies within Thembay Puca&#8217;s improper control of filename for include\/require statement, which could be exploited to include <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2021-4457-critical-unauthenticated-arbitrary-file-upload-vulnerability-in-zoomsounds-plugin\/\"  data-wpil-monitor-id=\"64699\">arbitrary local files<\/a> from the server. This could <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-20599-unauthorized-access-to-crypto-co-processor-registers-in-asp-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"64221\">potentially lead to a full system<\/a> compromise or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1357519620\" 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>Below is a conceptual example demonstrating how an attacker might exploit this vulnerability. This example supposes a malicious actor issuing an HTTP <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48921-cross-site-request-forgery-vulnerability-in-drupal-open-social\/\"  data-wpil-monitor-id=\"65012\">request to a vulnerable<\/a> endpoint, using a manipulated file path to include a local file:<\/p>\n<pre><code class=\"\" data-line=\"\">GET \/vulnerable\/endpoint?file=..\/..\/..\/..\/etc\/passwd HTTP\/1.1\nHost: target.example.com<\/code><\/pre>\n<p>In this example, the attacker attempts to include the &#8216;\/etc\/passwd&#8217; file, a crucial <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32977-unauthenticated-backup-file-upload-vulnerability-in-quest-kace-systems-management-appliance\/\"  data-wpil-monitor-id=\"64422\">system file<\/a> that contains user account details. If successful, the attacker would have <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4855-unauthorized-access-vulnerability-in-support-board-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"70970\">unauthorized access<\/a> to sensitive data.<br \/>\nPlease note that this is a simplified example for illustrative purposes only. Real-world exploits may involve more complex methods and additional steps to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2443-gitlab-ee-cross-site-scripting-xss-and-content-security-policy-bypass-vulnerability\/\"  data-wpil-monitor-id=\"65345\">bypass security<\/a> measures.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The PHP Local File Inclusion vulnerability, designated as CVE-2025-30992, is a critical security flaw found in the Thembay Puca software. This vulnerability is of particular concern due to its potential to facilitate unauthorized access to sensitive data or even a complete system compromise. As the bug originates from an improper control of filename 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-57652","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\/57652","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=57652"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/57652\/revisions"}],"predecessor-version":[{"id":63530,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/57652\/revisions\/63530"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=57652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=57652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=57652"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=57652"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=57652"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=57652"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=57652"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=57652"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=57652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}