Vulnerability & Exploit Database

Back to search

TeamCity Agent XML-RPC Command Execution

This module allows remote code execution on TeamCity Agents configured to use bidirectional communication via xml-rpc. In bidirectional mode the TeamCity server pushes build commands to the Build Agents over port TCP/9090 without requiring authentication. Up until version 10 this was the default configuration. This module supports TeamCity agents from version 6.0 onwards.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/multi/misc/teamcity_agent_xmlrpc_exec

Authors

  • Dylan Pindur <dylanpindur [at] gmail.com>

References

Targets

  • Windows
  • Linux

Platforms

  • linux
  • windows

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/misc/teamcity_agent_xmlrpc_exec msf exploit(teamcity_agent_xmlrpc_exec) > show targets ...targets... msf exploit(teamcity_agent_xmlrpc_exec) > set TARGET <target-id> msf exploit(teamcity_agent_xmlrpc_exec) > show options ...show and set options... msf exploit(teamcity_agent_xmlrpc_exec) > exploit