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/thiscitze/cve-2026-118423-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityRemote Access ToolPayload Development
GitHubthiscitze/cve-2026-118423-poc

cve-2026-118423-poc

CVE-2026-118423 - WP Libre Form <= 1.5.0.1 unauthenticated upload to RCE (PoC + exploit by thiscitze)

View Repository
15 days agoNot yet reviewed

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.

    972
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    666
  • 3

    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.

    424
  • 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.

    389
  • 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.

    337
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    331

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-118423 — WP Libre Form unauthenticated upload → RCE

by thiscitze

ProductWP Libre Form (wp-libre-form)
Affected<= 1.5.0.1
TypeUnauthenticated arbitrary file upload (CWE-434)
ImpactRemote code execution as the web user
CVSS10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H)
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-118423

Summary

WP Libre Form registers the AJAX action wplf_submit for both logged-in and anonymous users (wp_ajax_nopriv_wplf_submit). The handler never validates the uploaded file type. When the form is not configured to use the media library, the file is moved straight into wp-content/uploads/:

// inc/wplf-ajax.php
$name = 'lf_' . date( 'ymdhs' ) . '-' . $counter . '-' . sanitize_file_name( $file['name'] );
move_uploaded_file( $file['tmp_name'], $uploads_path['path'] . '/' . $name );

sanitize_file_name() keeps the .php extension, so a PHP payload lands in a web-accessible directory and is executed by the web server.

The only precondition is a published form: the handler requires a valid _form_id (a wplf-form post) and the form's required fields, all of which are visible in the rendered page.

Requirements

  • A page that renders a [libre-form] shortcode (the PoC auto-discovers it through the REST API or the site's own links)
  • wp-content/uploads/ served by a web server that executes PHP (the default)
  • Python 3.6+, no third-party packages

Usage

# automatic discovery
python3 poc.py --url https://target.example

# form page known / REST API disabled
python3 poc.py --url https://target.example --form-url https://target.example/contact/

# custom admin-ajax location
python3 poc.py --url https://target.example --ajax-url https://target.example/wp-admin/admin-ajax.php

# only send the file, skip the URL brute force
python3 poc.py --url https://target.example --no-verify

Typical successful run:

+ form page: https://target.example/contact/
+ form id  : 42
+ submission accepted (id=118)
+ upload: https://target.example/wp-content/uploads/lf_261106140-0-wplf_7b79.php
+ RCE confirmed - marker WPLF7B79 returned by the server

How the PoC works

  1. Finds a page with a rendered form (_form_id hidden input) via the REST API (/wp-json/wp/v2/pages|posts) or by following same-origin links.
  2. Extracts the form id and every field name, then submits the multipart form to admin-ajax.php?action=wplf_submit with a .php file attached to the form's file input (or to a synthetic field name).
  3. The response JSON carries the uploaded file's original name and a submission id. The final name is lf_<ymdhs>-<counter>-<name>; the PoC rebuilds it from the server Date header (±5 seconds, counters 0–3) and verifies execution by requesting the URL and looking for the random marker.
  4. Exit codes: 0 executed/uploaded, 2 uploaded but URL not found, 1 failure.

Detection

  • Requests to admin-ajax.php with action=wplf_submit and a multipart body whose filename ends in .php
  • Files matching wp-content/uploads/lf_*-*-*.php
  • PHP files younger than the submission in the uploads tree

Mitigation

  • Remove or update the plugin (no fixed release is assigned to this CVE at the time of writing; WPScan lists 1.5.0.1 as the last affected version)
  • Enforce an upload allow-list and store uploads outside the web root
  • Deny PHP execution in wp-content/uploads/:
<Directory "/var/www/html/wp-content/uploads">
  <FilesMatch "\.(php|phtml|phar)$">
    Require all denied
  </FilesMatch>
</Directory>

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-118423
  • WPScan: https://wpscan.com/vulnerability/35149a79-aee1-4f13-ba29-583c2224c5da/

Disclaimer

For authorized testing and lab use only. Running this against systems you do not own is a criminal offence in most jurisdictions.


written by thiscitze · github.com/thiscitze

Download Tool