CVE-2025-7846
📋 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
- WordPress User Extra Fields 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 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.
🎯 Exploit Status
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
allDeactivate the User Extra Fields plugin to prevent exploitation
wp plugin deactivate user-extra-fields
Restrict file permissions
linuxSet 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=")