Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

WordPress Holding Pattern Theme Arbitrary File Upload

Disclosed
Feb 11, 2015
Created
May 30, 2018

Description

This module exploits a file upload vulnerability in all versions of the
Holding Pattern theme found in the upload_file.php script which contains
no session or file validation. It allows unauthenticated users to upload
files of any type and subsequently execute PHP scripts in the context of
the web server.

Authors

Alexander Borg
rastating

Platform

PHP

Architectures

php

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.