CVE-2025-12879

8.8 HIGH

📋 TL;DR

This CSRF vulnerability in the WordPress User Generator and Importer plugin allows unauthenticated attackers to create administrator accounts by tricking site administrators into clicking malicious links. Attackers can gain full control of affected WordPress sites. All WordPress sites using vulnerable plugin versions are affected.

💻 Affected Systems

Products:
  • WordPress User Generator and Importer plugin
Versions: Up to and including 1.2.2
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin activated. The plugin must have CSV import functionality accessible.

⚠️ 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 site takeover with attacker creating administrator accounts, installing backdoors, stealing data, and defacing the website.

🟠

Likely Case

Attackers create hidden administrator accounts to maintain persistent access for future malicious activities like data exfiltration or malware distribution.

🟢

If Mitigated

With proper CSRF protections and user awareness, exploitation attempts fail, maintaining normal site operations.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires social engineering to trick administrators into clicking malicious links, but the technical execution is simple once the victim interacts.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.2.3 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/user-importer-and-generator

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'User Generator and Importer'. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 1.2.3+ from WordPress.org and replace the plugin files.

🔧 Temporary Workarounds

Disable CSV Import Functionality

all

Temporarily disable the vulnerable CSV import feature by modifying plugin code or using filters.

Add to theme's functions.php: add_filter('user_importer_csv_capability', '__return_false');

Deactivate Plugin

linux

Completely disable the vulnerable plugin until patched.

wp plugin deactivate user-importer-and-generator

🧯 If You Can't Patch

  • Implement strict CSRF protection at the web application firewall level
  • Restrict admin panel access to trusted IP addresses only

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > User Generator and Importer for version number. If version is 1.2.2 or lower, you are vulnerable.

Check Version:

wp plugin get user-importer-and-generator --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.2.3 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected administrator account creation
  • CSV import requests without proper nonce validation
  • Multiple failed login attempts followed by new admin account

Network Indicators:

  • POST requests to /wp-admin/admin.php?page=user-generator with CSV data but missing _wpnonce parameter

SIEM Query:

source="wordpress" AND (event="user_created" AND user_role="administrator") OR (uri_path="/wp-admin/admin.php" AND query_string="page=user-generator" AND NOT form_data._wpnonce=*)

🔗 References

📤 Share & Export