CVE-2024-35745
📋 TL;DR
This path traversal vulnerability in the Strategery Migrations WordPress plugin allows attackers to delete arbitrary files on the server. It affects all WordPress sites using the plugin version 1.0 or earlier. Attackers can exploit this to delete critical system files or website content.
💻 Affected Systems
- WordPress Strategery Migrations Plugin
📦 What is this software?
Strategery Migrations by Strategery Migrations Project
⚠️ Risk & Real-World Impact
Worst Case
Complete website compromise through deletion of WordPress core files, leading to site unavailability and potential data loss.
Likely Case
Selective file deletion causing website functionality disruption, content loss, or defacement.
If Mitigated
Limited impact with proper file permissions and web server restrictions preventing deletion of critical system files.
🎯 Exploit Status
Exploitation requires authenticated access to WordPress, but the vulnerability is simple to exploit once authenticated.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.1
Vendor Advisory: https://patchstack.com/database/vulnerability/strategery-migrations/wordpress-strategery-migrations-plugin-1-0-arbitrary-file-deletion-vulnerability
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Go to Plugins → Installed Plugins. 3. Find 'Strategery Migrations' and click 'Update Now'. 4. If update not available, download version 1.0.1 from WordPress repository and manually update.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily deactivate the vulnerable plugin until patched
wp plugin deactivate strategery-migrations
Restrict File Permissions
linuxSet restrictive permissions on critical WordPress directories
chmod 755 wp-content
chmod 644 wp-config.php
🧯 If You Can't Patch
- Remove the plugin entirely if not essential for site functionality
- Implement web application firewall rules to block path traversal patterns
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'Strategery Migrations' version 1.0 or earlier
Check Version:
wp plugin get strategery-migrations --field=version
Verify Fix Applied:
Verify plugin version shows 1.0.1 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual file deletion attempts in web server logs
- POST requests to plugin endpoints with '../' patterns
Network Indicators:
- HTTP requests containing path traversal sequences to plugin-specific endpoints
SIEM Query:
web.url:*strategery-migrations* AND web.url:*../*
🔗 References
- https://patchstack.com/database/vulnerability/strategery-migrations/wordpress-strategery-migrations-plugin-1-0-arbitrary-file-deletion-vulnerability?_s_id=cve
- https://patchstack.com/database/vulnerability/strategery-migrations/wordpress-strategery-migrations-plugin-1-0-arbitrary-file-deletion-vulnerability?_s_id=cve