Detect WordPress File Upload Plugin Arbitrary File Deletion (CVE-2026-134173) in IBM QRadar
Detects exploitation attempts against the WordPress File Upload plugin, versions up to and including 5.3.1, which is vulnerable to unauthenticated arbitrary file deletion (CVE-2026-134173, CWE-22). The plugin's wfu_ajax_action_handshake and wfu_ajax_action_send_email_notification AJAX actions accept a sid parameter that is only sanitized with sanitize_text_field(), which does not strip bracket characters. This lets an attacker craft a sid that plants forged records in the plugin's shared state store, including the per-session file path list and consent flag. Combined with a nonce that the same unauthenticated handshake can mint itself, this allows an unauthenticated attacker to delete arbitrary files on the server, which may make remote code execution possible. Detection focuses on admin-ajax.php POST requests invoking wfu_* AJAX actions with crafted sid parameters or path traversal content, and on unexpected deletion of sensitive WordPress files.
MITRE ATT&CK
- Tactic
- Impact Initial Access
QRadar Detection Query
-- df00tech DF00-e1cdb0e75c · https://df00tech.com/detections/CVE-2026-134173 · licence: https://df00tech.com/detections/licence
SELECT sourceip, url, "httpMethod", starttime FROM events WHERE LOWER(url) LIKE '%/admin-ajax.php%' AND "httpMethod" = 'POST' AND (LOWER(payload) LIKE '%wfu_ajax%' OR LOWER(payload) LIKE '%action=wfu%') AND (payload LIKE '%../%' OR LOWER(payload) LIKE '%..%2f%' OR LOWER(payload) LIKE '%wp-config%') ORDER BY starttime DESC LAST 7 DAYS QRadar AQL over web proxy/firewall events matching wfu_* admin-ajax POSTs with traversal or wp-config content in the payload.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate File Upload plugin deletions.
- Sanctioned security testing traffic.
- Payload-replay tooling containing encoded characters.
Other platforms for CVE-2026-134173
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Simulated wfu AJAX traversal file-deletion request
Expected signal: Web server access log entry: POST /wp-admin/admin-ajax.php with body containing wfu_ajax_action_handshake and ../ traversal toward wp-config.php.
- Test 2 URL-encoded traversal variant
Expected signal: Access log POST to admin-ajax.php with encoded %2e%2e%2f sequence and wfu_ajax action.
- Test 3 Benign plugin deletion control
Expected signal: Access log POST to admin-ajax.php with wfu action and an in-bounds uploads path, no traversal sequence.
References (4)
- https://www.wordfence.com/threat-intel/vulnerabilities/id/dd126758-04c9-4c7e-8d26-8b11aa6110e7?source=cve
- https://plugins.trac.wordpress.org/changeset?old_path=/wp-file-upload/tags/5.3.0&new_path=/wp-file-upload/tags/5.3.2
- https://plugins.trac.wordpress.org/browser/wp-file-upload/tags/5.3.0/lib/wfu_ajaxactions.php#L199
- https://plugins.trac.wordpress.org/browser/wp-file-upload/tags/5.3.0/lib/wfu_functions.php#L3706
Response Playbook
Triage
- Confirm the targeted site runs WordPress File Upload plugin (wp-file-upload) version 5.3.1 or earlier by checking wp-content/plugins/wp-file-upload/wordpress_file_upload.php header or the readme.txt stable tag.
- Extract the source IP(s), timestamps and full request body from the flagged admin-ajax.php POST and decode any URL-encoded sid or path content to reconstruct the target file path.
- Check whether the request succeeded (HTTP 200 and a JSON success payload from the wfu AJAX action) versus being blocked (403/404).
- Correlate the source IP against authentication logs; the vulnerability does not require authentication, so lack of a session does not rule it out.
Containment
- Update the WordPress File Upload plugin to version 5.3.2 or later, or deactivate and remove the plugin if an immediate patch is not possible.
- Block the offending source IP(s) at the WAF/reverse proxy and add a WAF rule rejecting admin-ajax.php requests whose wfu_* parameters contain '../' or encoded traversal or bracket characters in the sid parameter.
- Restrict filesystem permissions so the web server user cannot delete wp-config.php and other core files outside the uploads directory.
Evidence Collection
- Preserve web server access logs, PHP error logs and WAF logs covering the request window, including full request bodies.
- Capture a filesystem integrity snapshot (file listing with mtimes/hashes) of WordPress core and plugin directories to identify deleted or missing files.
Escalation Criteria
- !Escalate to incident response if wp-config.php, .htaccess, or other security-critical files are confirmed deleted or missing.
- !Escalate if the deletion is followed by a WordPress setup/re-install flow (requests to wp-admin/setup-config.php or install.php) indicating attempted site takeover.
Investigation Guide
Forensic Artifacts
- >
Web server access logs showing admin-ajax.php POSTs with wfu_* actions and traversal or crafted sid parameters. - >
Missing or recently-deleted core files (wp-config.php) and corresponding filesystem mtime gaps. - >
PHP-FPM/error logs recording unlink() activity or warnings during the request window.
Tuning Guidance
Allowlist the known administrator IP ranges that legitimately manage uploads through the plugin UI, and focus alerting on requests where the decoded parameter path escapes the wp-content/uploads directory. If the environment does not log request bodies, enable WAF/reverse-proxy body logging for admin-ajax.php so traversal payloads are visible; otherwise detection degrades to referer/query-string indicators only.
Hunting Queries
Baselines the volume of wfu_* admin-ajax POSTs per source IP to surface anomalous bursts or new sources interacting with the plugin endpoint.
// df00tech DF00-e1cdb0e75c · https://df00tech.com/detections/CVE-2026-134173 · licence: https://df00tech.com/detections/licence
W3CIISLog | where csUriStem endswith "/admin-ajax.php" and csMethod=="POST" | where tolower(csUriQuery) has "wfu" | summarize count() by cIP, bin(TimeGenerated, 1h) ``` df00tech DF00-e1cdb0e75c · https://df00tech.com/detections/CVE-2026-134173 · licence: https://df00tech.com/detections/licence ```
index=web sourcetype=access_combined uri_path="*/admin-ajax.php" method=POST form_data="*wfu*" | timechart span=1h count by clientip Atomic Red Team Tests
Sends an unauthenticated POST to admin-ajax.php invoking a wfu_* action with a path-traversal sequence targeting wp-config.php, reproducing the request shape of CVE-2026-134173 in a lab.
Command
curl -s -o /dev/null -w '%{http_code}\n' -X POST 'http://wp-lab.local/wp-admin/admin-ajax.php' --data 'action=wfu_ajax_action_handshake&file=../../../../wp-config.php&op=delete' Cleanup
echo 'No cleanup required; request only. Restore wp-config.php from backup if the lab target is actually vulnerable.' Expected Telemetry
Web server access log entry: POST /wp-admin/admin-ajax.php with body containing wfu_ajax_action_handshake and ../ traversal toward wp-config.php.
Expected Detection
KQL/SPL/EQL rules fire on the wfu_* action combined with traversal/wp-config markers.
Sends the same exploit shape using URL-encoded traversal (%2e%2e%2f) to validate detection of encoded path-traversal evasion.
Command
curl -s -o /dev/null -X POST 'http://wp-lab.local/wp-admin/admin-ajax.php' --data 'action=wfu_ajax&session_token=test&file=%2e%2e%2f%2e%2e%2fwp-config.php' Cleanup
echo 'No cleanup required; restore target file from backup on a genuinely vulnerable lab host.' Expected Telemetry
Access log POST to admin-ajax.php with encoded %2e%2e%2f sequence and wfu_ajax action.
Expected Detection
Rules match encoded traversal tokens (..%2f / %2e%2e%2f) against wfu_* actions.
Issues a legitimate wfu_* AJAX deletion of a file inside the uploads directory with no traversal, to confirm the detection does not alert on normal plugin use.
Command
curl -s -o /dev/null -X POST 'http://wp-lab.local/wp-admin/admin-ajax.php' --data 'action=wfu_ajax_action_handshake&file=2026/11/sample.txt&op=delete' -H 'Cookie: wordpress_logged_in_test=admin' Cleanup
echo 'No cleanup required.' Expected Telemetry
Access log POST to admin-ajax.php with wfu action and an in-bounds uploads path, no traversal sequence.
Expected Detection
No alert expected, confirms traversal/wp-config condition suppresses legitimate deletions.