This PR adds in a new login scanner module that targets the JetBrains TeamCity service.
Docker
You can easily set up a TeamCity instance using Docker:
Latest:
docker run -it --rm -p 8111:8111 jetbrains/teamcity-server
10.0:
docker run -it --rm -p 8222:8111 jetbrains/teamcity-server:10.0
9.1.7:
docker run -it --rm -p 8333:8111 jetbrains/teamcity-server:9.1.7
Conveniently, the oldest available image in Docker and the newest images share the same encryption scheme and both work out of the box with no additional configuration or checking of the server version needed.
Verification
[ ] Boot up a Docker instance of JetBrains TeamCity and perform the initial setup in your browser
[ ] Start msfconsole
[ ] use scanner/teamcity/teamcity_login
[ ] run rport=8111 rhost=127.0.0.1 username=... password=...
[ ] Verify that you can log in
[ ] Verify that when using a password file, your user gets locked out but after waiting, you can login as expected
Example
❯ bundle exec 'ruby ./msfconsole -q'
msf6 auxiliary(scanner/teamcity/teamcity_login) > run
[+] 127.0.0.1:8111 - Login Successful: admin:admin
[!] No active DB -- Credential data will not be saved!
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf6 auxiliary(scanner/teamcity/teamcity_login) > run pass_file=pass_list.txt password=''
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:admin_password (Incorrect)
[!] No active DB -- Credential data will not be saved!
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:password (Incorrect)
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:my_password111 (Incorrect)
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:f00bar123! (Incorrect)
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:p4$$w0rd01!! (Incorrect)
[*] User 'admin' locked out for 59 seconds. Sleeping, and retrying...
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:admin_admin (Incorrect)
[-] 127.0.0.1:8111 - LOGIN FAILED: admin:adminadmin (Incorrect)
[+] 127.0.0.1:8111 - Login Successful: admin:admin
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
msf6 auxiliary(scanner/teamcity/teamcity_login) > cat pass_list.txt
[*] exec: cat pass_list.txt
admin_password
password
my_password111
f00bar123!
p4$$w0rd01!!
admin_admin
adminadmin
admin
This PR adds in a new login scanner module that targets the JetBrains TeamCity service.
Docker
You can easily set up a TeamCity instance using Docker: Latest:
10.0:
9.1.7:
Conveniently, the oldest available image in Docker and the newest images share the same encryption scheme and both work out of the box with no additional configuration or checking of the server version needed.
Verification
msfconsole
use scanner/teamcity/teamcity_login
run rport=8111 rhost=127.0.0.1 username=... password=...
Example
Non-English Support