CVE-2025-27282

9.9 CRITICAL

📋 TL;DR

This vulnerability allows attackers to upload malicious files to WordPress sites using the Theme File Duplicator plugin. Attackers can execute arbitrary code, potentially taking full control of affected websites. All WordPress installations with Theme File Duplicator version 1.3 or earlier are affected.

💻 Affected Systems

Products:
  • Theme File Duplicator WordPress Plugin
Versions: n/a through 1.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All default installations of affected plugin versions are vulnerable. No special configuration required.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete server compromise leading to data theft, ransomware deployment, or use as part of a botnet.

🟠

Likely Case

Website defacement, backdoor installation, credential theft, and malware distribution to visitors.

🟢

If Mitigated

Limited impact if file uploads are restricted at web server level or plugin is disabled.

🌐 Internet-Facing: HIGH - WordPress sites are typically internet-facing and this vulnerability requires no authentication.
🏢 Internal Only: MEDIUM - Internal WordPress sites could still be compromised if accessible to internal attackers.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation is straightforward - attackers can upload malicious PHP files without authentication. Public exploit code is available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.4 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/theme-file-duplicator/vulnerability/wordpress-theme-file-duplicator-plugin-1-3-arbitrary-file-upload-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Go to Plugins → Installed Plugins. 3. Find Theme File Duplicator. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin immediately.

🔧 Temporary Workarounds

Disable Plugin

all

Deactivate and delete the vulnerable plugin from WordPress

wp plugin deactivate theme-file-duplicator
wp plugin delete theme-file-duplicator

Restrict File Uploads

linux

Configure web server to block PHP file uploads to plugin directories

# Add to .htaccess in wp-content/plugins/theme-file-duplicator/
<Files *.php>
    Order Deny,Allow
    Deny from all
</Files>

🧯 If You Can't Patch

  • Immediately deactivate and remove the Theme File Duplicator plugin
  • Implement web application firewall rules to block file uploads to vulnerable endpoints

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Theme File Duplicator version. If version is 1.3 or earlier, you are vulnerable.

Check Version:

wp plugin get theme-file-duplicator --field=version

Verify Fix Applied:

Verify plugin version is 1.4 or later, or confirm plugin is completely removed from wp-content/plugins/ directory.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to /wp-content/plugins/theme-file-duplicator/
  • POST requests to plugin upload endpoints
  • Execution of unexpected PHP files in plugin directory

Network Indicators:

  • HTTP POST requests containing file uploads to plugin-specific endpoints
  • Traffic patterns showing file uploads followed by immediate execution

SIEM Query:

source="web_server" AND (uri_path="/wp-content/plugins/theme-file-duplicator/*" AND method="POST") AND (file_extension="php" OR file_extension="phtml")

🔗 References

📤 Share & Export