JetBrains TeamCity Agent XML-RPC Port RCE

critical Nessus Plugin ID 94675
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote host is affected by a remote command execution vulnerability.

Description

The JetBrains TeamCity agent running on the remote host is affected by a remote command execution vulnerability due to the agent behaving as a bidirectional agent even when the unidirectional protocol is enabled. An unauthenticated, remote attacker can exploit this to execute commands via the XML-RPC port, resulting in the disclosure of sensitive information, a denial of service condition, or the execution of arbitrary shell commands.

Solution

Use unidirectional agent communication and upgrade JetBrains TeamCity agent to version 10.0 (42002) or later.

See Also

https://www.jetbrains.com/teamcity/

http://www.nessus.org/u?980a98d4

Plugin Details

Severity: Critical

ID: 94675

File Name: team_city_agent_detect.nasl

Version: 1.7

Type: remote

Family: RPC

Published: 11/10/2016

Updated: 11/22/2019

Dependencies: http_version.nasl

Asset Inventory: true

Risk Information

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:jetbrains:teamcity

Patch Publication Date: 7/21/2016

Vulnerability Publication Date: 7/14/2015