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
log4shell-poc — POC for log4shll Vulnerablity (CVE-2021-44228) | Kitploit
Tools/GitHubGitHub/codepumpking/log4shell-poc
Vulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationPayload DevelopmentLabs & Practice
GitHubcodepumpking/log4shell-poc

log4shell-poc

POC for log4shll Vulnerablity (CVE-2021-44228)

View Repository
378 months 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.

    938
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    556
  • 3

    redforge

    cybersecurity91/redforge

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

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

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

    291

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-44228 Log4Shell POC

Overview

Proof of Concept for Remote Code Execution via JNDI Injection vulnerability in Apache Log4j 2.14.1. Web Hacking Course - Week 11 Assignment.

Environment

RoleSoftwareVersion
Victim ServerSpring Boot + Log4j2.6.1 + 2.14.1
Victim JDKOpenJDK1.8.0_181
LDAP Servermarshalsec0.0.3
Attacker OSKali Linux-

File Structure

log4shell-poc/
├── vulnerable-server/     # Vulnerable Spring Boot server
│   ├── pom.xml
│   └── src/main/java/com/example/vulnerable/
│       ├── App.java
│       └── MainController.java
├── exploit/
│   └── Exploit.java       # Malicious class source
└── attacker/
    └── commands.md        # Attack commands reference

How to run

Start Vunlerable Server

cd vulnerable-server
mvn clean package -DskipTests
/opt/jdk1.8.0_181/bin/java -jar target/log4shell-vuln-0.0.1-SNAPSHOT.jar

Run Attack

See attacker/commands.md for step-by-step attack commands.

Attack Flow

  1. Send JNDI payload via X-Api-Version HTTP header using curl
  2. Log4j parses the payload and triggers JNDI lookup automatically
  3. marshalsec LDAP server responds with Exploit.class URL
  4. Victim JVM downloads and loads Exploit.class from HTTP server
  5. Static block executes automatically, connecting reverse shell to nc listener
  6. RCE achieved - arbitrary command execution on victim server

Key Technical Details

  • Vulnerable point: logger.info() passes user input directly to Log4j without sanitization
  • Root cause: Log4j 2.x evaluates ${...} expressions inside log messages
  • JDK requirement: JDK 8u181 or lower required (trustURLCodebase=true by default)
  • Patch: Log4j 2.15.0+ disables JNDI lookup by default

Disclaimer

This POC is for educational purposes only. Do NOT use against systems without explicit permission.

Download Tool