{"id":28237,"date":"2025-04-21T07:30:47","date_gmt":"2025-04-21T07:30:47","guid":{"rendered":""},"modified":"2025-05-06T12:20:30","modified_gmt":"2025-05-06T12:20:30","slug":"cve-2022-3899-csrf-vulnerability-in-3dprint-wordpress-plugin-before-3-5-6-9","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2022-3899-csrf-vulnerability-in-3dprint-wordpress-plugin-before-3-5-6-9\/","title":{"rendered":"<strong>CVE-2022-3899: CSRF Vulnerability in 3dprint WordPress Plugin Before 3.5.6.9<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The Common Vulnerabilities and Exposures (CVE) system has identified a critical security vulnerability in the 3dprint WordPress plugin, specifically versions prior to 3.5.6.9. This vulnerability, designated as CVE-2022-3899, exposes the plugin users to Cross-Site Request Forgery (CSRF) attacks.<br \/>\nThis vulnerability is of high concern as it affects a large number of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32542-unchecked-authorization-vulnerability-in-eazyplugins-eazy-plugin-manager\/\"  data-wpil-monitor-id=\"33041\">WordPress sites using the 3dprint<\/a> plugin, potentially leading to severe consequences such as system compromise or data leakage. Website administrators, cybersecurity teams, and all users of the 3dprint WordPress plugin need to be aware of this <a href=\"https:\/\/www.ameeba.com\/blog\/exploitation-of-zero-day-flaw-in-gladinet-centrestack-unveiling-the-security-implications-and-measures\/\"  data-wpil-monitor-id=\"34159\">security flaw<\/a> and take immediate action to mitigate its risks.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2022-3899<br \/>\nSeverity: High (8.1 CVSS Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: Possible system compromise and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-50350-broken-cryptographic-algorithm-leads-to-potential-data-leakage-in-hcl-dryice-myxalytics\/\"  data-wpil-monitor-id=\"33714\">data leakage<\/a><\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-1521277739\" 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>3dprint <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-6220-piotnet-forms-plugin-vulnerability-in-wordpress-allows-arbitrary-file-uploads\/\"  data-wpil-monitor-id=\"34526\">WordPress Plugin<\/a> | Before 3.5.6.9<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32614-php-remote-file-inclusion-vulnerability-in-ashan-perera-eventon\/\"  data-wpil-monitor-id=\"33054\">vulnerability lies in the modified version of the Tiny File<\/a> Manager included with the 3dprint plugin, which does not protect against CSRF attacks. This allows an attacker to craft a malicious request designed to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-2007-wordpress-plugin-vulnerability-leads-to-arbitrary-file-deletion-and-potential-system-compromise\/\"  data-wpil-monitor-id=\"34593\">delete files<\/a> or directories on the target server. The exploit is triggered when an authenticated admin user is tricked into submitting a malicious form, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-23391-incorrect-privilege-assignment-in-suse-rancher-potentially-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"33079\">leading to potential system<\/a> compromise or data leakage.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-424172643\" 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-50123-exploitable-vulnerability-in-hozard-alarm-system-sms-authentication\/\"  data-wpil-monitor-id=\"35593\">vulnerability might be exploited<\/a>. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32958-critical-adept-language-vulnerability-allowing-malicious-code-execution\/\"  data-wpil-monitor-id=\"38259\">code represents a malicious<\/a> HTTP request that an attacker could use to trick the administrator into deleting files on the server:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/tinyfilemanager.php HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/x-www-form-urlencoded\ncsrf_token=...&amp;action=delete&amp;path=\/path\/to\/file<\/code><\/pre>\n<p>In the above example, the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-50932-csrf-attack-on-savignano-s-notify-for-confluence\/\"  data-wpil-monitor-id=\"33547\">attacker creates a CSRF<\/a> token (`csrf_token=&#8230;`) and crafts an HTTP POST request to the Tiny File Manager endpoint (`tinyfilemanager.php`). The `action=delete` and `path=\/path\/to\/file` parameters instruct the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3065-arbitrary-file-deletion-vulnerability-in-database-toolset-plugin\/\"  data-wpil-monitor-id=\"40270\">file manager to delete<\/a> the specified file.<\/p>\n<p><strong>Recommended Mitigation<\/strong><\/p>\n<p>Users of the affected plugin versions are urged to apply the vendor-supplied patch as <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32663-php-local-file-inclusion-vulnerability-in-fat-cooming-soon-plugin\/\"  data-wpil-monitor-id=\"35592\">soon as possible to fix this vulnerability<\/a>. If the patch cannot be applied immediately, a Web Application Firewall (WAF) or Intrusion Detection System (IDS) can be used as temporary mitigation.<br \/>\nRemember, staying on top of updates and patches is a <a href=\"https:\/\/www.ameeba.com\/blog\/uh-cybersecurity-camps-a-crucial-step-towards-securing-our-digital-future\/\"  data-wpil-monitor-id=\"40271\">crucial component of maintaining a secure<\/a> online presence. Always keep your <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-37297-vulnerability-in-ami-s-spx-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"33423\">systems and plugins up-to-date to protect against known vulnerabilities<\/a> such as CVE-2022-3899.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The Common Vulnerabilities and Exposures (CVE) system has identified a critical security vulnerability in the 3dprint WordPress plugin, specifically versions prior to 3.5.6.9. This vulnerability, designated as CVE-2022-3899, exposes the plugin users to Cross-Site Request Forgery (CSRF) attacks. This vulnerability is of high concern as it affects a large number of WordPress sites using [&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":[90],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-28237","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-csrf"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/28237","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=28237"}],"version-history":[{"count":12,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/28237\/revisions"}],"predecessor-version":[{"id":35584,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/28237\/revisions\/35584"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=28237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=28237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=28237"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=28237"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=28237"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=28237"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=28237"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=28237"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=28237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}