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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Catch Themes Demo Import | Catch Themes Demo Import | 1.7 – ≤ 1.7 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Wordpress Plugin Catch Themes Demo Import RCE
exploit/multi/http/wp_catch_themes_demo_import
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39352
- https://plugins.trac.wordpress.org/changeset/2617555/catch-themes-demo-import/trunk/inc/CatchThemesDemoImport.php
- https://github.com/BigTiger2020/word-press/blob/main/Catch%20Themes%20Demo%20Import.md
- http://packetstormsecurity.com/files/165207/WordPress-Catch-Themes-Demo-Import-1.6.1-Shell-Upload.html
- http://packetstormsecurity.com/files/165463/WordPress-Catch-Themes-Demo-Import-Shell-Upload.html
- https://github.com/Hacker5preme/Exploits/tree/main/Wordpress/CVE-2021-39352
- https://www.exploit-db.com/exploits/50580