Rapid7

module

Wordpress Plugin Catch Themes Demo Import RCE

Disclosed
Oct 21, 2021
Created
Jan 5, 2022

Description

The Wordpress Plugin Catch Themes Demo Import versions arbitrary file uploads via the import functionality found in the
~/inc/CatchThemesDemoImport.php file, due to insufficient file type validation.
Re-exploitation may need a reboot of the server, or to wait an arbitrary timeout.
During testing this timeout was roughly 5min.

Authors

h00die
Ron Jost
Thinkland Security Team

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