CVE-2025-12733
📋 TL;DR
The WP All Import WordPress plugin contains a critical remote code execution vulnerability that allows authenticated users with import capabilities (typically administrators) to execute arbitrary PHP code on the server. This occurs due to unsanitized user input being passed to the eval() function in import templates. All WordPress sites using this plugin up to version 3.9.6 are affected.
💻 Affected Systems
- WP All Import WordPress Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Complete server compromise allowing attackers to install backdoors, steal sensitive data, deface websites, or pivot to internal networks.
Likely Case
Attackers with administrative access execute malicious code to establish persistence, exfiltrate data, or deploy cryptocurrency miners.
If Mitigated
Limited impact if proper access controls restrict import capabilities to trusted administrators only.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once credentials are obtained.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.9.7 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'WP All Import' and click 'Update Now'. 4. Verify version is 3.9.7 or higher.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patching is possible.
wp plugin deactivate wp-all-import
Restrict User Roles
allRemove import capabilities from all non-essential users.
wp user list --role=administrator --field=user_login
wp user remove-role <username> administrator
🧯 If You Can't Patch
- Implement strict access controls to limit import capabilities to only essential, trusted administrators.
- Deploy web application firewall rules to block eval() function calls and suspicious PHP code in POST requests.
🔍 How to Verify
Check if Vulnerable:
Check plugin version in WordPress admin panel under Plugins → Installed Plugins. If WP All Import version is 3.9.6 or lower, you are vulnerable.
Check Version:
wp plugin get wp-all-import --field=version
Verify Fix Applied:
Verify WP All Import plugin version is 3.9.7 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual eval() calls in PHP error logs
- Suspicious import template modifications
- Unexpected file creations in wp-content/uploads/wpallimport/files/
Network Indicators:
- POST requests to /wp-admin/admin-ajax.php with 'action=pmxi_import' containing PHP code
- Outbound connections to suspicious IPs after import operations
SIEM Query:
source="wordpress.log" AND "pmxi_import" AND ("eval" OR "base64_decode" OR "system(")
🔗 References
- https://plugins.trac.wordpress.org/browser/wp-all-import/tags/3.9.6/helpers/functions.php#L79
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3393968%40wp-all-import&new=3393968%40wp-all-import&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8475dd90-b47a-42b4-8e4e-44e8512e4fca?source=cve