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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-44228 PoC — Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints

Source
Associated Vulnerability
Title:Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints (CVE-2021-44228)
Description:Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. An attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers when message lookup substitution is enabled. From log4j 2.15.0, this behavior has been disabled by default. From version 2.16.0 (along with 2.12.2, 2.12.3, and 2.3.1), this functionality has been completely removed. Note that this vulnerability is specific to log4j-core and does not affect log4net, log4cxx, or other Apache Logging Services projects.
Description
this web is vulnerable against CVE-2021-44228
Readme
# Copyright © 2023 Red Team 2
this web is vulnerable against CVE-2021-44228
File Snapshot

[4.0K] /data/pocs/67edaf4a784b4e5baab7027bf20f24eb5400a92d ├── [2.7K] pom.xml ├── [ 77] README.md ├── [4.0K] src │   └── [4.0K] main │   ├── [4.0K] java │   │   └── [4.0K] id │   │   └── [4.0K] my │   │   └── [4.0K] kyruuu │   │   └── [4.0K] servlet │   │   ├── [ 965] forgotpass.java │   │   ├── [ 215] log4j.java │   │   └── [1.2K] loginservlet.java │   └── [4.0K] webapp │   ├── [3.8K] book.jsp │   ├── [2.3K] forgot.jsp │   ├── [4.0K] image │   │   ├── [171K] citylibrary.jpg │   │   ├── [168K] filosofiteras.jpg │   │   ├── [235K] mencariarumbawangi.jpg │   │   └── [1.1M] spiderman.jpg │   ├── [1.5K] index.jsp │   ├── [2.5K] login.jsp │   ├── [ 829] style.css │   └── [4.0K] WEB-INF │   └── [ 810] web.xml └── [4.0K] target ├── [4.0K] classes │   └── [4.0K] id │   └── [4.0K] my │   └── [4.0K] kyruuu │   └── [4.0K] servlet │   ├── [1.7K] forgotpass.class │   ├── [ 521] log4j.class │   └── [1.9K] loginservlet.class ├── [4.0K] java-webapp │   ├── [3.8K] book.jsp │   ├── [2.3K] forgot.jsp │   ├── [4.0K] image │   │   ├── [171K] citylibrary.jpg │   │   ├── [168K] filosofiteras.jpg │   │   ├── [235K] mencariarumbawangi.jpg │   │   └── [1.1M] spiderman.jpg │   ├── [1.5K] index.jsp │   ├── [2.5K] login.jsp │   ├── [ 829] style.css │   └── [4.0K] WEB-INF │   ├── [4.0K] classes │   │   └── [4.0K] id │   │   └── [4.0K] my │   │   └── [4.0K] kyruuu │   │   └── [4.0K] servlet │   │   ├── [1.7K] forgotpass.class │   │   ├── [ 521] log4j.class │   │   └── [1.9K] loginservlet.class │   ├── [4.0K] lib │   │   ├── [293K] log4j-api-2.14.1.jar │   │   └── [1.7M] log4j-core-2.14.1.jar │   └── [ 810] web.xml ├── [3.4M] java-webapp.war ├── [4.0K] maven-archiver │   └── [ 65] pom.properties ├── [4.0K] maven-status │   └── [4.0K] maven-compiler-plugin │   └── [4.0K] compile │   └── [4.0K] default-compile │   ├── [ 111] createdFiles.lst │   └── [ 225] inputFiles.lst └── [4.0K] tomcat ├── [4.0K] conf │   ├── [3.2K] logging.properties │   ├── [1.1K] tomcat-users.xml │   └── [149K] web.xml ├── [4.0K] logs │   └── [2.7K] access_log.2023-04-01 └── [4.0K] work └── [4.0K] Tomcat └── [4.0K] localhost └── [4.0K] java-webapp ├── [4.0K] org │   └── [4.0K] apache │   └── [4.0K] jsp │   ├── [8.3K] book_jsp.class │   ├── [9.4K] book_jsp.java │   ├── [7.0K] forgot_jsp.class │   ├── [7.6K] forgot_jsp.java │   ├── [5.7K] index_jsp.class │   ├── [5.2K] index_jsp.java │   ├── [7.2K] login_jsp.class │   └── [7.8K] login_jsp.java └── [ 265] SESSIONS.ser 40 directories, 50 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 →