CVE-2025-34104
Publication date 15 July 2025
Last updated 23 July 2025
Ubuntu priority
Description
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
matomo | 25.04 plucky |
Not affected
|
24.04 LTS noble | Not in release | |
22.04 LTS jammy | Not in release |
References
Other references
- https://www.cve.org/CVERecord?id=CVE-2025-34104
- https://firefart.at/post/turning_piwik_superuser_creds_into_rce/
- https://matomo.org/changelog/piwik-3-0-3/
- https://matomo.org/faq/plugins/faq_21/
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/piwik_superuser_plugin_upload.rb
- https://www.vulncheck.com/advisories/piwik-authenticated-rce-via-custom-plugin-upload