Rapid7 Vulnerability & Exploit Database

WordPress Asset-Manager PHP File Upload Vulnerability

Back to Search

WordPress Asset-Manager PHP File Upload Vulnerability

Disclosed
05/26/2012
Created
05/30/2018

Description

This module exploits a vulnerability found in Asset-Manager <= 2.0 WordPress plugin. By abusing the upload.php file, a malicious user can upload a file to a temp directory without authentication, which results in arbitrary code execution.

Author(s)

  • Sammy FORGIT
  • James Fitts <fitts.james@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_asset_manager_upload_exec
msf exploit(wp_asset_manager_upload_exec) > show targets
    ...targets...
msf exploit(wp_asset_manager_upload_exec) > set TARGET < target-id >
msf exploit(wp_asset_manager_upload_exec) > show options
    ...show and set options...
msf exploit(wp_asset_manager_upload_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

;