{"id":"CVE-2025-34104","published":"2025-07-15T13:06:51Z","modified":"2026-07-14T22:25:44Z","title":"Piwik Authenticated RCE via Custom Plugin Upload","vendor":"Piwik (now Matomo)","product":"Web Analytics Platform","tier":"tail","description":{"text":"An authenticated remote code execution vulnerability exists in Piwik (now Matomo) versions prior to 3.0.3 via the plugin upload mechanism. In vulnerable versions, an authenticated user with Superuser privileges can upload and activate a malicious plugin (ZIP archive), leading to arbitrary PHP code execution on the underlying system. Starting with version 3.0.3, plugin upload functionality is disabled by default unless explicitly enabled in the configuration file.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01906,"percentile":0.80252,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://matomo.org/changelog/piwik-3-0-3/","tags":["vendor-advisory"]},{"url":"https://matomo.org/faq/plugins/faq_21/","tags":["product"]},{"url":"https://firefart.at/post/turning_piwik_superuser_creds_into_rce/","tags":["third-party-advisory"]},{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/piwik_superuser_plugin_upload.rb","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/piwik-authenticated-rce-via-custom-plugin-upload","tags":["third-party-advisory"]}],"priority":{"score":27.6,"factors":[{"name":"EPSS percentile","points":16.05},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"metasploit":[{"name":"Piwik Superuser Plugin Upload","module":"exploit/unix/webapp/piwik_superuser_plugin_upload","type":"exploit","disclosureDate":"2017-02-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/piwik_superuser_plugin_upload.rb"}],"first":{"date":"2017-02-05","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/piwik_superuser_plugin_upload.rb"},"provenance":"source"},"vendorSlug":"piwik-now-matomo","affectedVersions":[{"vendor":"Piwik (now Matomo)","product":"Web Analytics Platform","versions":["< 3.0.3"]}],"capec":[{"id":"CAPEC-148","name":"Content Spoofing"},{"id":"CAPEC-153","name":"Input Data Manipulation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-07-15T13:34:41.977912Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-21429","exploited":false,"provenance":"source"},"exploitRefs":["https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/piwik_superuser_plugin_upload.rb"]}