Rapid7 Vulnerability & Exploit Database

Movable Type 4.2x, 4.3x Web Upgrade Remote Code Execution

Back to Search

Movable Type 4.2x, 4.3x Web Upgrade Remote Code Execution

Disclosed
01/07/2013
Created
05/30/2018

Description

This module can be used to execute a payload on MoveableType (MT) that exposes a CGI script, mt-upgrade.cgi (usually at /mt/mt-upgrade.cgi), that is used during installation and updating of the platform. The vulnerability arises due to the following properties: 1. This script may be invoked remotely without requiring authentication to any MT instance. 2. Through a crafted POST request, it is possible to invoke particular database migration functions (i.e. functions that bring the existing database up-to-date with an updated codebase) by name and with particular parameters. 3. A particular migration function, core_drop_meta_for_table, allows a class parameter to be set which is used directly in a perl eval statement, allowing perl code injection.

Author(s)

  • Kacper Nowak
  • Nick Blundell
  • Gary O'Leary-Steele

Platform

Unix,Windows

Architectures

cmd

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/multi/http/movabletype_upgrade_exec
msf exploit(movabletype_upgrade_exec) > show targets
    ...targets...
msf exploit(movabletype_upgrade_exec) > set TARGET < target-id >
msf exploit(movabletype_upgrade_exec) > show options
    ...show and set options...
msf exploit(movabletype_upgrade_exec) > 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

;