CVE-2025-12733

8.8 HIGH

📋 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

Products:
  • WP All Import WordPress Plugin
Versions: All versions up to and including 3.9.6
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated user with import capabilities, typically administrator role.

⚠️ 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 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once credentials are obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.9.7 or later

Vendor Advisory: 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=

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

all

Temporarily disable the vulnerable plugin until patching is possible.

wp plugin deactivate wp-all-import

Restrict User Roles

all

Remove 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

📤 Share & Export