Rapid7 Vulnerability & Exploit Database

WordPress Platform Theme File Upload Vulnerability

Back to Search

WordPress Platform Theme File Upload Vulnerability

Disclosed
01/21/2015
Created
05/30/2018

Description

The WordPress Theme "platform" contains a remote code execution vulnerability through an unchecked admin_init call. The theme includes the uploaded file from its temp filename with php's include function.

Author(s)

  • Marc-Alexandre Montpas
  • Christian Mehlmauer <FireFart@gmail.com>

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

;