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
RCE-PoC-CVE-2021-25646 — A proof-of-concept for the CVE-2021-25646, which allows for Command Injection | Kitploit
Tools/GitHubGitHub/tiemio/rce-poc-cve-2021-25646
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlLearning & Education
GitHubtiemio/rce-poc-cve-2021-25646

RCE-PoC-CVE-2021-25646

A proof-of-concept for the CVE-2021-25646, which allows for Command Injection

View Repository
1351 year 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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    361
  • 4

    redforge

    cybersecurity91/redforge

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

    339
  • 5

    ARTEX

    baarai/artex

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

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

    322

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-25646 Proof-of-Concept (Go Version)

Overview

This repository contains a proof-of-concept (PoC) exploit for CVE-2021-25646, a critical remote code execution vulnerability in Apache Druid.
The exploit is written in Go and allows for interactive command injection via the terminal.


Features

  • Interactive Command Injection:
    Execute arbitrary commands on a vulnerable Apache Druid server through an interactive shell interface.

Build

You need Go installed (version 2.23.4 recommended).

go build .

This will produce a binary in the current directory.


Usage

You can run the exploit either by building the binary or directly with go run.

Command-Line Options

  • -i : Target Druid server IP address (required)
  • -p : Target Druid server port (required)
  • -proxy : Specifying the proxy url (optional)

Examples

Run the built binary:

./cve -i 127.0.0.1 -p 8888

Or run directly with Go:

go run main.go -i 127.0.0.1 -p 8888

Example Session

$ ./cve -i 127.0.0.1 -p 8888
~ $ whoami
root
~ $ uname -a
Linux druid-server 4.15.0-123-generic #126-Ubuntu SMP ...

Technical Details

  • Vulnerability:
    The exploit abuses improper input validation in the Druid indexer component, specifically in the task API, allowing for command injection via crafted JSON payloads.

  • References:

    • CVE-2021-25646 - NVD
    • Apache Druid Security Advisory

ToDo

  • Add support for HTTPS
  • Automate switch to reverse shell
  • More native command prompt feeling

Disclaimer

This software is provided for educational purposes only.
The author is not responsible for any misuse or damage caused by this code.
Always obtain proper authorization before testing any system.

Download Tool