Exploit database

Vulnerability

CVE-2013-0209

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

lib/MT/Upgrade.pm in mt-upgrade.cgi in Movable Type 4.2x and 4.3x through 4.38 does not require authentication for requests to database-migration functions, which allows remote attackers to conduct eval injection and SQL injection attacks via crafted parameters, as demonstrated by an eval injection attack against the core_drop_meta_for_table function, leading to execution of arbitrary Perl code.

CVE Program

Exploit source choices

2 sources
Movable Type 4.2x, 4.3x Web Upgrade Remote Code Execution
MSF-multi--http--movabletype_upgrade_execMetasploitUnix,Windows / remote

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.

2013-01-07movabletype_upgrade_exec.rb