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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-4104 PoC — Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2

Source
Associated Vulnerability
Title:Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 (CVE-2021-4104)
Description:JMSAppender in Log4j 1.2 is vulnerable to deserialization of untrusted data when the attacker has write access to the Log4j configuration. The attacker can provide TopicBindingName and TopicConnectionFactoryBindingName configurations causing JMSAppender to perform JNDI requests that result in remote code execution in a similar fashion to CVE-2021-44228. Note this issue only affects Log4j 1.2 when specifically configured to use JMSAppender, which is not the default. Apache Log4j 1.2 reached end of life in August 2015. Users should upgrade to Log4j 2 as it addresses numerous other issues from the previous versions.
Readme
<<<<<<< HEAD
# Log4jShell_1.x

Log4j RCE 1.x Poc

## Attack

![](images/1.png)

![](images/2.png)

## Restriction

1. The target has jms environment
2. You need to gain access to modify the log4j.properties file

## Conclusion

Not as useful as log4shell 2.x

## Log4shell Topic

https://github.com/cckuailong/reapoc/tree/main/Topic/Log4j

## Welcome to contribute in reapoc

https://github.com/cckuailong/reapoc
=======
# log4j-CVE-2021-4104
>>>>>>> 250005e035c957e6d8b6faf6f55b45a665a14263
File Snapshot

[4.0K] /data/pocs/0ea1aaf972561b8ebc73810a2a18a304101313b1 ├── [4.0K] images │   ├── [ 80K] 1.png │   └── [ 26K] 2.png ├── [ 80] log4j_RCE.iml ├── [2.6K] pom.xml ├── [ 492] README.md └── [4.0K] src ├── [4.0K] main │   ├── [4.0K] java │   │   ├── [1.3K] Evil.java │   │   ├── [4.0K] META-INF │   │   │   └── [ 40] MANIFEST.MF │   │   └── [ 221] Test.java │   ├── [4.0K] resources │   │   └── [ 375] log4j.properties │   └── [4.0K] webapp │   ├── [ 255] index.jsp │   └── [4.0K] WEB-INF │   └── [ 215] web.xml └── [4.0K] META-INF └── [ 40] MANIFEST.MF 9 directories, 12 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →