JetBrains TeamCity < 2020.2.2 Multiple Vulnerabilities

medium Nessus Plugin ID 339345

Synopsis

The instance of JetBrains TeamCity installed on the remote host is affected by multiple vulnerabilities.

Description

The version of JetBrains TeamCity installed on the remote host is prior to 2020.2.2. It is, therefore, affected by multiple vulnerabilities:

- In JetBrains TeamCity before 2020.2.2, XSS was potentially possible on the test history page.
(CVE-2021-31904)

- In the TeamCity IntelliJ plugin before 2020.2.2.85899, DoS was possible. (CVE-2021-26310)

- Information disclosure in the TeamCity plugin for IntelliJ before 2020.2.2.85899 was possible because a local temporary file had Insecure Permissions. (CVE-2021-26309)

- In JetBrains TeamCity before 2020.2.2, audit logs were not sufficient when an administrator uploaded a file. (CVE-2021-31906)

- In JetBrains TeamCity before 2020.2.2, permission checks for changing TeamCity plugins were implemented improperly. (CVE-2021-31907)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to JetBrains TeamCity version 2020.2.2 or later.

See Also

http://www.nessus.org/u?b68da82a

Plugin Details

Severity: Medium

ID: 339345

File Name: jetbrains_teamcity_2020_2_2.nasl

Version: 1.1

Type: Combined

Agent: windows, macosx, unix

Family: Misc.

Published: 8/25/2026

Updated: 8/25/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-31907

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

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

CVSS Score Source: CVE-2021-31904

Vulnerability Information

CPE: cpe:/a:jetbrains:teamcity

Required KB Items: installed_sw/JetBrains TeamCity

Exploit Ease: No known exploits are available

Patch Publication Date: 5/7/2021

Vulnerability Publication Date: 2/3/2021

Reference Information

CVE: CVE-2021-25772, CVE-2021-26309, CVE-2021-26310, CVE-2021-31904, CVE-2021-31906, CVE-2021-31907, CVE-2021-3315

CWE: 378, 732, 770, 778, 79

IAVA: 2021-A-0308-S