Exploit database

Vulnerability

CVE-2021-39352

Catch Themes Demo Import <= 1.7 Admin+ Arbitrary File Upload

Vulnerability details

Score
7.2
Severity
high

CVSS 3.1 · Wordfence

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Description

The Catch Themes Demo Import WordPress plugin is vulnerable to arbitrary file uploads via the import functionality found in the ~/inc/CatchThemesDemoImport.php file, in versions up to and including 1.7, due to insufficient file type validation. This makes it possible for an attacker with administrative privileges to upload malicious files that can be used to achieve remote code execution.

CVE Program

Exploit source choices

2 sources
Wordpress Plugin Catch Themes Demo Import RCE
MSF-multi--http--wp_catch_themes_demo_importMetasploitPHP / remote

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.

2021-10-21wp_catch_themes_demo_import.rb