AIKTP <= 5.0.7 - Unauthenticated Authorization Bypass via Predictable Token via Predictable 'aiktpz_token' + '/checkToken' Brute-Force Oracle
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Oct 14, 2026
Description
The AIKTP plugin for WordPress is vulnerable to Authorization Bypass via Predictable Token in all versions up to, and including, 5.0.7. The vulnerability exists because the plugin's sync token (`aiktpz_token`) is generated using PHP's non-cryptographic `uniqid()` function — producing a wall-clock-derived value with approximately one million microsecond candidates per uncertain generation second — while the unauthenticated, unthrottled REST endpoint `/wp-json/aiktp/checkToken` (registered with `permission_callback => __return_true`) acts as a public brute-force oracle for the token; simultaneously, the capability checks in `check_valid_token` and its wrappers (`verify_aiktp_token_with_edit_capability`, `verify_aiktp_token_with_upload_capability`) inspect only a server-side stored Administrator account (option `aiktp_author`) rather than the actual REST caller, meaning possession of the token alone grants Administrator-equivalent authority to any external request. This makes it possible for unauthenticated attackers to recover the sync token and then invoke `POST /wp-json/aiktp/createpost` to publish arbitrary posts attributed to a site Administrator, `POST /wp-json/aiktp/doUpdatePostWithImageURL` to overwrite the body content of any existing post, and `POST /wp-json/aiktp/doUploadImageToWP` to import remote media and attach it as the featured image of any post. Additionally, when the `aiktpz_token` option has never been initialized, the `checkToken` oracle returns success for an empty token submission due to a loose comparison in `check_valid_token`, providing a zero-effort bypass that requires no brute-forcing whatsoever.
| Product | Versions |
|---|---|
| AIKTP aiktp | 5.0.7 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | Wordfence |
Weaknesses
- CWE-285 Improper Authorization
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/916ff9fa-04d1-4d15-92dd-905dd6fe259e?source=cve
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/aiktp.php#L107
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/includes/aiktp-sync.php#L362
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/includes/aiktp-sync.php#L401
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/aiktp.php#L979
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/includes/aiktp-sync.php#L231
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/includes/aiktp-sync.php#L602
- https://plugins.trac.wordpress.org/browser/aiktp/trunk/includes/aiktp-sync.php#L842
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.