CVE-2026-18143: Request a Quote for WooCommerce Unrestricted Arbitrary File Upload to Pre-Auth Remote Code Execution
HERMES THREAT SCORE & E-COMMERCE INFRASTRUCTURE EXPOSURE
Target:Addify Request a Quote for WooCommerce - Popup AJAX Upload Handler CVSS v3.1 rates this vulnerability at 9.8 (Critical). The Hermes Threat Score confirms this severity with a score of 94 (CRITICAL). Addify Request a Quote is deployed across thousands of high-volume WooCommerce storefronts managing corporate quotation requests. Because the upload handler is exposed to unauthenticated users via wp_ajax_nopriv without nonce verification or file extension whitelisting, automated threat scanners weaponize this vector within minutes of discovery to plant persistent PHP webshells, siphon credit card data, and achieve full server takeover.
CVE-2026-18143: Request a Quote for WooCommerce Unrestricted Arbitrary File Upload to Pre-Auth Remote Code ExecutionVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Addify Request a Quote for WooCommerce 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 Software Matrix
Section titled โ1. Technical Context & Affected Software MatrixโWooCommerce is the leading open-source e-commerce platform globally, and the Addify Request a Quote extension is commonly utilized in B2B transactions where custom negotiations precede checkout.
| Parameter | Technical Specification | Operational Impact |
|---|---|---|
| CVE Identifier | CVE-2026-18143 | International vulnerability tracking reference |
| Vendor / Plugin | Addify / Request a Quote for WooCommerce | Critical WordPress B2B e-commerce extension |
| Vulnerable Function | afrfq_submit_quote_via_popup() | AJAX quote submission and file upload logic |
| Flaw Type | CWE-434: Unrestricted Upload of File with Dangerous Type | Web-accessible arbitrary executable upload |
| Attack Vector | Network (admin-ajax.php) | Unauthenticated HTTP POST requests |
| Remediation Release | Version 2.9.3 | Immediate plugin update required across all stores |
2. In-Depth Technical Decomposition
Section titled โ2. In-Depth Technical DecompositionโThe Flawed AJAX Action Handler
Section titled โThe Flawed AJAX Action HandlerโIn WordPress, AJAX handlers accessible to unauthenticated visitors must be registered using the wp_ajax_nopriv_ action hook. In Addify Request a Quote versions up to 2.9.2, the plugin registered:
add_action('wp_ajax_nopriv_afrfq_submit_quote_via_popup', array($this, 'afrfq_submit_quote_via_popup'));add_action('wp_ajax_afrfq_submit_quote_via_popup', array($this, 'afrfq_submit_quote_via_popup'));Inside the handler function, file attachments were processed without capability checks, without nonce verification, and without invoking WordPressโs native wp_handle_upload() or wp_check_filetype() security sanitizers:
// Vulnerable Code Pattern in afrfq_submit_quote_via_popup() (<= 2.9.2)public function afrfq_submit_quote_via_popup() { // No nonce check (check_ajax_referer) // No role verification
if (isset($_FILES['afrfq_upload_file']) && !empty($_FILES['afrfq_upload_file']['name'])) { $upload_dir = wp_upload_dir(); $target_dir = $upload_dir['basedir'] . '/quote_files/';
if (!file_exists($target_dir)) { wp_mkdir_p($target_dir); }
// FLAW: Raw, attacker-controlled filename directly concatenated! $file_name = $_FILES['afrfq_upload_file']['name']; $target_file = $target_dir . $file_name;
// FLAW: No extension or MIME-type check before filesystem write! if (move_uploaded_file($_FILES['afrfq_upload_file']['tmp_name'], $target_file)) { // File written into public web directory $file_url = $upload_dir['baseurl'] . '/quote_files/' . $file_name; } }
// ... proceed with quote notification ... wp_send_json_success(array('message' => 'Quote submitted successfully', 'file_url' => $file_url));} UNAUTHENTICATED ATTACKER โ โ [1] POST /wp-admin/admin-ajax.php โ action=afrfq_submit_quote_via_popup โ $_FILES['afrfq_upload_file'] = "shell.php" (Content: <?php system($_GET['c']); ?>) โผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ WORDPRESS AJAX ROUTER & PLUGIN โ โ โ โ โข wp_ajax_nopriv_afrfq_submit_quote_via_popup handles โ โ โข Skips nonce validation โ โ โข Skips file extension / MIME validation โ โ โข Executes move_uploaded_file(..., "shell.php") โ โ โข Writes to wp-content/uploads/quote_files/shell.php โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ โ [2] GET /wp-content/uploads/quote_files/shell.php?c=id โผ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ PHP-FPM / WEB SERVER RUNTIME โ โ โข PHP interpreter executes shell.php โ โ โข Returns: uid=33(www-data) gid=33(www-data) โ โ โข Attacker dumps wp-config.php and database โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโThe Upstream Resolution (v2.9.3)
Section titled โThe Upstream Resolution (v2.9.3)โIn version 2.9.3, Addify introduced comprehensive input validation, strict MIME-type and extension whitelisting (permitting only safe document formats like PDF, DOCX, PNG), randomized file naming, and nonce checking:
// Patched Implementation in v2.9.3public function afrfq_submit_quote_via_popup() { check_ajax_referer('afrfq_popup_nonce', 'security');
if (isset($_FILES['afrfq_upload_file'])) { $allowed_extensions = array('pdf', 'doc', 'docx', 'jpg', 'jpeg', 'png'); $file_info = wp_check_filetype(basename($_FILES['afrfq_upload_file']['name']));
if (!in_array(strtolower($file_info['ext']), $allowed_extensions, true)) { wp_send_json_error(array('message' => 'Invalid file extension. Only documents and images are permitted.')); wp_die(); }
// Randomize filename and use wp_handle_upload $overrides = array('test_form' => false, 'mimes' => get_allowed_mime_types()); $uploaded_file = wp_handle_upload($_FILES['afrfq_upload_file'], $overrides);
if (isset($uploaded_file['error'])) { wp_send_json_error(array('message' => $uploaded_file['error'])); wp_die(); } }}3. Attack Vectors & Real-World Weaponization
Section titled โ3. Attack Vectors & Real-World Weaponizationโ- Direct Web Shell Dropping: Attackers issue multipart
POSTrequests toadmin-ajax.phpwith a payload namedsystem_health.php. Once written to/wp-content/uploads/quote_files/system_health.php, the file is immediately executable by browsing to its public URL. - Database Siphoning & E-Commerce Credential Harvesting: With arbitrary PHP execution in the context of the web server (
www-data), adversaries accesswp-config.php, dump customer transaction histories and hashed passwords from MySQL, and inject credit card skimmers into checkout templates (wp-content/plugins/woocommerce/templates/checkout/). - Rogue Administrative Account Insertion: The attacker calls internal WordPress functions like
wp_create_user()with theadministratorrole, securing persistent backdoors even if the plugin is later updated.
4. Forensic Triage & Threat Hunting
Section titled โ4. Forensic Triage & Threat Huntingโtitle: Addify WooCommerce Request a Quote Arbitrary File Uploadid: cve-2026-18143-woocommerce-uploadstatus: experimentaldescription: Detects suspicious POST requests to WordPress admin-ajax.php triggering the afrfq_submit_quote_via_popup action followed by direct execution of PHP files in the quote_files upload directory.author: Hermes Codex Cyber Threat Intelligencedate: 2026-09-27references: - https://nvd.nist.gov/vuln/detail/CVE-2026-18143 - https://wordfence.com/threat-intel/vulnerabilities/id/cve-2026-18143tags: - attack.initial_access - attack.t1190 - attack.persistence - attack.t1505.003logsource: category: webserver product: apachedetection: upload_request: cs_method: 'POST' cs_uri_stem|contains: '/wp-admin/admin-ajax.php' cs_uri_query|contains: 'action=afrfq_submit_quote_via_popup' shell_access: cs_method: 'GET' cs_uri_stem|contains: '/wp-content/uploads/quote_files/' cs_uri_stem|endswith: '.php' condition: upload_request or shell_accesslevel: critical(http.request.method: "POST" AND url.path: "*admin-ajax.php" AND http.request.body.content: "*afrfq_submit_quote_via_popup*")OR(url.path: "*quote_files/*.php")# Search for executable PHP files inside the WordPress uploads directoryfind /var/www/html/wp-content/uploads/ -type f -name "*.php" -ls
# Search specifically inside the Addify quote_files directoryls -la /var/www/html/wp-content/uploads/quote_files/
# Inspect recent POST requests to admin-ajax.php with afrfq action in access logsgrep "afrfq_submit_quote_via_popup" /var/log/nginx/access.log | tail -n 505. Mitigation & Defensive Hardening Strategy
Section titled โ5. Mitigation & Defensive Hardening Strategyโ-
Update Addify Request a Quote for WooCommerce: Immediately update the plugin to version 2.9.3 or later through the WordPress Plugins dashboard or via WP-CLI:
Terminal window wp plugin update request-a-quote-for-woocommerce -
Disable PHP Execution in WordPress Upload Folders: Harden the web server configuration to prevent PHP scripts from executing inside user-writable upload directories:
# Nginx Configurationlocation ~* /wp-content/uploads/.*\.php$ {deny all;return 404;}# Apache .htaccess inside /wp-content/uploads/<FilesMatch "\.(php|php5|phtml|phar)$">Order Deny,AllowDeny from all</FilesMatch> -
Audit Filesystem for Backdoors: Scan
wp-content/uploads/quote_files/and delete any non-document files. Verify the integrity of core WordPress files withwp core verify-checksums.