TeamCity Server < 2020.2.4 Multiple Vulnerabilities

critical Nessus Plugin ID 151791
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 web server is affected by multiple vulnerabilities.

Description

According to its its self-reported version number, the version of JetBrains TeamCity running on the remote host is a version prior to 2020.2.4. It is, therefore, affected by multiple vulnerabilities:

- A command injection vulnerability exists in JetBrains TeamCity. An unauthenticated, remote attacker can exploit this to execute arbitrary commands. (CVE-2021-31915)

- An arbitrary code execution vulnerability exists in JetBrains TeamCity. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary commands. (CVE-2021-31914)

- A remote code execution vulnerability exists in JetBrains TeamCity. An unauthenticated, remote attacker can exploit this to bypass authentication and execute arbitrary commands. (CVE-2021-31909)

Note that Nessus did not actually test for these issues, but instead has relied on the version found in the server's banner.

Solution

Upgrade to JetBrains TeamCity version 2020.2.4 or later.

See Also

http://www.nessus.org/u?8cd4a6be

Plugin Details

Severity: Critical

ID: 151791

File Name: teamcity_2020_2_4.nasl

Version: 1.2

Type: remote

Family: Web Servers

Published: 7/16/2021

Updated: 7/19/2021

Dependencies: jetbrains_teamcity_web_detect.nbin

Risk Information

CVSS Score Source: CVE-2021-31915

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

Required KB Items: installed_sw/JetBrains TeamCity

Exploit Ease: No known exploits are available

Patch Publication Date: 4/15/2021

Vulnerability Publication Date: 5/6/2021

Reference Information

CVE: CVE-2020-7908, CVE-2020-7909, CVE-2020-7910, CVE-2020-7911, CVE-2020-11686, CVE-2020-11687, CVE-2020-11688, CVE-2020-11689, CVE-2020-11938, CVE-2020-15826, CVE-2021-3315, CVE-2021-26309, CVE-2021-26310, CVE-2021-31904, CVE-2021-31906, CVE-2021-31907, CVE-2021-31908, CVE-2021-31909, CVE-2021-31910, CVE-2021-31911, CVE-2021-31912, CVE-2021-31913, CVE-2021-31914, CVE-2021-31915

IAVA: 2021-A-0308