CVE-2025-7846

8.8 HIGH

📋 TL;DR

The WordPress User Extra Fields plugin has an arbitrary file deletion vulnerability in all versions up to 16.7. Authenticated attackers with Subscriber-level access or higher can delete any file on the server, potentially leading to remote code execution by deleting critical files like wp-config.php. This affects all WordPress sites using vulnerable versions of this plugin.

💻 Affected Systems

Products:
  • WordPress User Extra Fields plugin
Versions: All versions up to and including 16.7
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Attackers need at least Subscriber-level authenticated access.

⚠️ 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 compromise through remote code execution by deleting wp-config.php or other critical files, leading to data theft, defacement, or malware installation.

🟠

Likely Case

Site disruption or data loss through deletion of important files, potentially causing downtime or content loss.

🟢

If Mitigated

Limited impact if proper file permissions and access controls prevent file deletion, though vulnerability still exists.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access but is technically simple once credentials are obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 16.7

Vendor Advisory: https://codecanyon.net/item/user-extra-fields/12949844

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'User Extra Fields' plugin
4. Click 'Update Now' if update available
5. If no update available, deactivate and remove the plugin immediately

🔧 Temporary Workarounds

Disable plugin

all

Deactivate the User Extra Fields plugin to prevent exploitation

wp plugin deactivate user-extra-fields

Restrict file permissions

linux

Set restrictive permissions on critical WordPress files

chmod 644 wp-config.php
chmod 644 wp-content/*

🧯 If You Can't Patch

  • Remove Subscriber and higher role access from untrusted users
  • Implement web application firewall rules to block file deletion attempts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → User Extra Fields → check if version is 16.7 or lower

Check Version:

wp plugin list --name='user-extra-fields' --field=version

Verify Fix Applied:

Verify plugin version is higher than 16.7 in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual file deletion events in web server logs
  • Multiple failed authentication attempts followed by file operations

Network Indicators:

  • POST requests to plugin endpoints with file path parameters
  • Unusual file deletion patterns

SIEM Query:

source="web_server" AND (uri.path="/wp-admin/admin-ajax.php" OR uri.path CONTAINS "user-extra-fields") AND http.method="POST" AND (uri.query CONTAINS "delete" OR uri.query CONTAINS "file=")

🔗 References

📤 Share & Export