Skip to content

CVE-2026-18143: Request a Quote for WooCommerce Unrestricted Arbitrary File Upload to Pre-Auth Remote Code Execution

Density:
HERMES

HERMES THREAT SCORE & E-COMMERCE INFRASTRUCTURE EXPOSURE

Target: Addify Request a Quote for WooCommerce - Popup AJAX Upload Handler
Confidence: 99%
94 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 18 / 20
Weaponization 19 / 20
Exposure 19 / 20
Prevalence 18 / 20
Impact 20 / 20
Exploit Maturity 19 / 20
Attack Chain Potential 19 / 20
โš–๏ธ Divergence & Operational Rationale

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.

๐Ÿ•ธ๏ธ Connected Knowledge Graph & Provenance

CVE-2026-18143: Request a Quote for WooCommerce Unrestricted Arbitrary File Upload to Pre-Auth Remote Code ExecutionVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTAddify Request a Quote for WooCommerce
98% VERY_HIGH

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.”

Supporting Verified Evidence:

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.

ParameterTechnical SpecificationOperational Impact
CVE IdentifierCVE-2026-18143International vulnerability tracking reference
Vendor / PluginAddify / Request a Quote for WooCommerceCritical WordPress B2B e-commerce extension
Vulnerable Functionafrfq_submit_quote_via_popup()AJAX quote submission and file upload logic
Flaw TypeCWE-434: Unrestricted Upload of File with Dangerous TypeWeb-accessible arbitrary executable upload
Attack VectorNetwork (admin-ajax.php)Unauthenticated HTTP POST requests
Remediation ReleaseVersion 2.9.3Immediate plugin update required across all stores

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 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

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.3
public 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();
}
}
}

  1. Direct Web Shell Dropping: Attackers issue multipart POST requests to admin-ajax.php with a payload named system_health.php. Once written to /wp-content/uploads/quote_files/system_health.php, the file is immediately executable by browsing to its public URL.
  2. Database Siphoning & E-Commerce Credential Harvesting: With arbitrary PHP execution in the context of the web server (www-data), adversaries access wp-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/).
  3. Rogue Administrative Account Insertion: The attacker calls internal WordPress functions like wp_create_user() with the administrator role, securing persistent backdoors even if the plugin is later updated.

title: Addify WooCommerce Request a Quote Arbitrary File Upload
id: cve-2026-18143-woocommerce-upload
status: experimental
description: 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 Intelligence
date: 2026-09-27
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-18143
- https://wordfence.com/threat-intel/vulnerabilities/id/cve-2026-18143
tags:
- attack.initial_access
- attack.t1190
- attack.persistence
- attack.t1505.003
logsource:
category: webserver
product: apache
detection:
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_access
level: critical

  1. 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
  2. Disable PHP Execution in WordPress Upload Folders: Harden the web server configuration to prevent PHP scripts from executing inside user-writable upload directories:

    # Nginx Configuration
    location ~* /wp-content/uploads/.*\.php$ {
    deny all;
    return 404;
    }
    # Apache .htaccess inside /wp-content/uploads/
    <FilesMatch "\.(php|php5|phtml|phar)$">
    Order Deny,Allow
    Deny from all
    </FilesMatch>
  3. Audit Filesystem for Backdoors: Scan wp-content/uploads/quote_files/ and delete any non-document files. Verify the integrity of core WordPress files with wp core verify-checksums.