Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
cve-2026-118423-poc — CVE-2026-118423 - WP Libre Form <= 1.5.0.1 unauthenticated upload to RCE (PoC + exploit by thiscitze) | Kitploit
Outils/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)

Voir le dépôt
il y a 15 joursPas encore vérifié

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 La boîte à outils OSINT ultime : graphe d'enquête, notation de confiance, familles d'alias, carte, chronologie et rapports. 49 modules, plus de 400 sites, aucune clé API requise.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    645
  • 3

    looking-glass

    anonghosty/looking-glass

    Plateforme CSIRT qui ingère les rapports Shadowserver dans MongoDB et les rejoue sous forme de cartes interactives, d'analyses, de constats, d'avis et de tableaux de bord exécutifs.

    420
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer est une plateforme open-source de Gestion des Accès Privilégiés (PAM) qui offre aux équipes DevOps et IT un accès sécurisé et à la demande aux terminaux SSH, RDP, Kubernetes, bases de données et RemoteApp via un navigateur web.

    388
  • 5

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    330
  • 6

    SafeLine

    chaitin/safeline

    WAF auto-hébergé et proxy inverse qui filtre le trafic HTTP malveillant, bloque les injections SQL, les XSS et les attaques de robots, avec limitation de débit et chiffrement dynamique HTML/JS.

    328

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

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

Télécharger l’outil