Rapid7 Vulnerability & Exploit Database

Wordpress Plugin Catch Themes Demo Import RCE

Back to Search

Wordpress Plugin Catch Themes Demo Import RCE

Disclosed
10/21/2021
Created
01/05/2022

Description

The Wordpress Plugin Catch Themes Demo Import versions < 1.8 are vulnerable to authenticated 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.

Author(s)

  • h00die
  • Ron Jost
  • Thinkland Security Team

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/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

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

;