CVE-2025-5395
📋 TL;DR
The WordPress Automatic Plugin has a vulnerability allowing authenticated attackers with Author-level access or higher to upload arbitrary files due to insufficient file type validation. This can lead to remote code execution on affected WordPress sites. All versions up to and including 3.115.0 are vulnerable.
💻 Affected Systems
- WordPress Automatic 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
Full server compromise via remote code execution, leading to data theft, malware deployment, or complete site takeover.
Likely Case
Unauthorized file upload leading to webshell installation, backdoor persistence, or defacement.
If Mitigated
Limited impact if file execution is prevented via server configuration or web application firewall rules.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once credentials are obtained.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.115.1 or later
Vendor Advisory: https://codecanyon.net/item/wordpress-automatic-plugin/1904470#item-description__changelog
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'WordPress Automatic Plugin'. 4. Click 'Update Now' if available, or manually update to version 3.115.1+. 5. Verify update completes successfully.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched.
wp plugin deactivate wp-automatic
Restrict File Uploads via .htaccess
linuxBlock execution of uploaded files in wp-content/uploads directory.
<FilesMatch "\.(php|phtml|php3|php4|php5|php7|phps|php8|inc|pl|py|jsp|asp|htm|html|shtml|sh|cgi)">\n Order Allow,Deny\n Deny from all\n</FilesMatch>
🧯 If You Can't Patch
- Remove Author-level user accounts or restrict their permissions.
- Implement web application firewall (WAF) rules to block suspicious file uploads.
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for 'WordPress Automatic Plugin' version 3.115.0 or lower.
Check Version:
wp plugin get wp-automatic --field=version
Verify Fix Applied:
Confirm plugin version is 3.115.1 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual file uploads to wp-content/uploads via POST requests
- PHP or executable files uploaded by Author-level users
- Requests to /wp-content/uploads/ with suspicious filenames
Network Indicators:
- POST requests to /wp-admin/admin-ajax.php with file upload parameters
- Traffic spikes to uploaded files in wp-content/uploads
SIEM Query:
source="web_logs" AND (uri_path="/wp-admin/admin-ajax.php" AND method="POST" AND form_data CONTAINS "upload")