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
Dockerized Go app for testing the CVE-2021-44228 vulnerability
Readme
# docker-log4shell

Simple Go app / Docker image for playing with the [CVE-2021-44228](https://www.cve.org/CVERecord?id=CVE-2021-44228) vulnerability. Hosts a simple file server and an ldap server that provides any classes hosted in the file server: `ldap://ip:1389/Hello -> http://ip:8080/Hello.class`

```
docker build -t log4shell .
docker run -it -v "path-to-classes:/files" -p 1389:1389 -p 8080:8080 -e HOST=localhost log4shell
```
File Snapshot

[4.0K] /data/pocs/37016f47823b91941e1b1a91419cbc2bc565c23c ├── [ 133] Dockerfile ├── [ 168] go.mod ├── [ 402] go.sum ├── [1.8K] main.go └── [ 436] README.md 0 directories, 5 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.