Rapid7 Vulnerability & Exploit Database

Piwik Superuser Plugin Upload

Back to Search

Piwik Superuser Plugin Upload

Disclosed
02/05/2017
Created
05/30/2018

Description

This module will generate a plugin, pack the payload into it and upload it to a server running Piwik. Superuser Credentials are required to run this module. This module does not work against Piwik 1 as there is no option to upload custom plugins. Piwik disabled custom plugin uploads in version 3.0.3. From version 3.0.3 onwards you have to enable custom plugin uploads via the config file. Tested with Piwik 2.14.0, 2.16.0, 2.17.1 and 3.0.1.

Author(s)

  • FireFart

Platform

PHP

Architectures

php

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/webapp/piwik_superuser_plugin_upload
msf exploit(piwik_superuser_plugin_upload) > show targets
    ...targets...
msf exploit(piwik_superuser_plugin_upload) > set TARGET < target-id >
msf exploit(piwik_superuser_plugin_upload) > show options
    ...show and set options...
msf exploit(piwik_superuser_plugin_upload) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;