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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Piwik (now Matomo) Web Analytics Platform
Default version status: unaffected
0 to < 3.0.3affected
References
- https://matomo.org/changelog/piwik-3-0-3/ ↗
- https://matomo.org/faq/plugins/faq_21/ ↗
- https://firefart.at/post/turning_piwik_superuser_creds_into_rce/ ↗
- 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 ↗