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
Windows Batch Scrip to Fix the log4j-issue-CVE-2021-44228
Readme
# log4j-fix-CVE-2021-44228
Windows Batch Script to Scan all the local drive and Fix the log4j(CVE-2021-44228) impacted jars

Below configurations are needed to make it work

SET **ZIP_PATH**=C:\PROGRA~1\7-Zip\7z.exe

set **RESULT_FILE_NAM**E=log4j_impacted_jars

set **APPLY_FIX**=FALSE

set **LOG4J_LOG_DIR**=%temp%

**ZIP_PATH** should point to the 7Zip executable


**APPLY_FIX**

  TRUE -> Scan and fix all the jars
  
  FALSE -> Scan and report all the impacted jars in the txt file
File Snapshot

[4.0K] /data/pocs/ee19a784f628e6169e2e1875c94e5d9bad8be013 ├── [5.6K] Find-And-Fix-Log4J-Security-Issue.bat └── [ 488] README.md 0 directories, 2 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.