{"id":58305,"date":"2025-07-08T05:58:40","date_gmt":"2025-07-08T05:58:40","guid":{"rendered":""},"modified":"2025-10-20T15:23:18","modified_gmt":"2025-10-20T21:23:18","slug":"cve-2025-4380-critical-local-file-inclusion-vulnerability-in-ads-pro-plugin-for-wordpress","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-4380-critical-local-file-inclusion-vulnerability-in-ads-pro-plugin-for-wordpress\/","title":{"rendered":"<strong>CVE-2025-4380: Critical Local File Inclusion Vulnerability in Ads Pro Plugin for WordPress<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The present cybersecurity discussion revolves around a critical vulnerability, designated as CVE-2025-4380, that affects the Ads Pro Plugin &#8211; Multi-Purpose WordPress Advertising Manager plugin for WordPress. This vulnerability potentially puts countless WordPress sites at risk. It\u2019s significant because it allows <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-30131-unauthenticated-file-upload-vulnerability-in-iroad-dashcam-fx2-devices\/\"  data-wpil-monitor-id=\"64960\">unauthenticated attackers to include and execute arbitrary files<\/a> on the server. This could lead to unauthorized access, leakage of sensitive data, or complete system compromise if the attacker manages to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49885-severe-file-upload-vulnerability-in-harutheme-s-drag-and-drop-multiple-file-upload-pro-woocommerce-plugin\/\"  data-wpil-monitor-id=\"65320\">upload and include .php files<\/a> containing malicious code.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-4380<br \/>\nSeverity: Critical, CVSS Score 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-52717-sql-injection-vulnerability-in-lifterlms-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"65412\">Potential system<\/a> compromise or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-786084897\" 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>Ads Pro <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53260-unrestricted-file-upload-vulnerability-in-getredhawkstudio-file-manager-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"65359\">Plugin &#8211; Multi-Purpose WordPress Advertising Manager<\/a> |<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The vulnerability resides in the `bsa_preview_callback` function of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5590-time-based-sql-injection-vulnerability-in-owl-carousel-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"64885\">Ads Pro Plugin<\/a>. An <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-42959-unauthenticated-replay-attack-exploiting-hmac-reuse\/\"  data-wpil-monitor-id=\"83044\">attacker can exploit<\/a> the &#8216;bsa_template&#8217; parameter via a specially crafted request. This allows the attacker to include and execute <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6755-wordpress-plugin-vulnerability-leads-to-arbitrary-file-deletion\/\"  data-wpil-monitor-id=\"65613\">arbitrary files<\/a> on the server. If the attacker manages to upload PHP files containing malicious code, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-6174-cloud-init-root-access-vulnerability-on-non-x86-platforms\/\"  data-wpil-monitor-id=\"64854\">vulnerability can be used to bypass access<\/a> controls, leak sensitive data, or even compromise the system.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1459989069\" 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 of how the vulnerability might be exploited. The attacker sends a POST <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48921-cross-site-request-forgery-vulnerability-in-drupal-open-social\/\"  data-wpil-monitor-id=\"64999\">request to the vulnerable<\/a> endpoint with a malicious payload.<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/wp-admin\/admin-ajax.php?action=bsa_preview_callback HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/x-www-form-urlencoded\nbsa_template=..\/..\/..\/..\/..\/..\/..\/etc\/passwd<\/code><\/pre>\n<p>In the above example, the attacker tries to read the `\/etc\/passwd` <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-36157-unauthorized-remote-server-property-file-modification-in-ibm-jazz-foundation\/\"  data-wpil-monitor-id=\"83043\">file from the server<\/a>, which contains user account information. If successful, this could leak <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43233-critical-https-proxy-vulnerability-allowing-sensitive-data-access\/\"  data-wpil-monitor-id=\"69348\">sensitive data<\/a>.<br \/>\nIt&#8217;s important to note that this is a conceptual example and the actual exploit may differ based on the server configuration and the attacker&#8217;s objectives.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>The best way to mitigate this vulnerability is to apply the vendor\u2019s patch. If the patch is not available yet or cannot be applied immediately, using a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) can offer temporary <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43728-protection-mechanism-failure-vulnerability-in-dell-thinos\/\"  data-wpil-monitor-id=\"90276\">protection against this vulnerability<\/a>. Regularly updating your <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53277-critical-cross-site-request-forgery-csrf-vulnerability-in-infigo-software-is-theme-companion\/\"  data-wpil-monitor-id=\"65650\">software and conducting security audits can help prevent such vulnerabilities<\/a> in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The present cybersecurity discussion revolves around a critical vulnerability, designated as CVE-2025-4380, that affects the Ads Pro Plugin &#8211; Multi-Purpose WordPress Advertising Manager plugin for WordPress. This vulnerability potentially puts countless WordPress sites at risk. It\u2019s significant because it allows unauthenticated attackers to include and execute arbitrary files on the server. This could lead [&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-58305","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\/58305","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=58305"}],"version-history":[{"count":12,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/58305\/revisions"}],"predecessor-version":[{"id":83216,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/58305\/revisions\/83216"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=58305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=58305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=58305"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=58305"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=58305"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=58305"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=58305"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=58305"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=58305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}