Lucene search
+L

JetBrains TeamCity < 2021.2.1 Multiple Vulnerabilities

🗓️ 25 Aug 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

Multiple vulnerabilities in JetBrains TeamCity before 2021.2.1 including XSS, DoS, and redirect.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Cross-Site Request Forgery (CSRF) in Jetbrains Teamcity
2 Jul 202222:04
githubexploit
githubexploit
GithubExploit
Exploit for Server-Side Request Forgery in Jetbrains Hub
1 Sep 202221:08
githubexploit
attackerkb
ATTACKERKB
CVE-2022-24336
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24330
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24341
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24334
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24340
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24338
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24339
25 Feb 202215:15
attackerkb
attackerkb
ATTACKERKB
CVE-2022-24342
25 Feb 202215:15
attackerkb
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(339331);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/08/25");

  script_cve_id(
    "CVE-2022-24330",
    "CVE-2022-24334",
    "CVE-2022-24336",
    "CVE-2022-24338",
    "CVE-2022-24339",
    "CVE-2022-24340",
    "CVE-2022-24341",
    "CVE-2022-24342"
  );

  script_name(english:"JetBrains TeamCity < 2021.2.1 Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"The instance of JetBrains TeamCity installed on the remote host is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of JetBrains TeamCity installed on the remote host is prior to 2021.2.1. It is, therefore, affected by
multiple vulnerabilities:

  - In JetBrains TeamCity before 2021.2.1, a redirection to an external site was possible. (CVE-2022-24330)

  - In JetBrains TeamCity before 2021.2.1, the Agent Push feature allowed selection of any private key on the
    server. (CVE-2022-24334)

  - In JetBrains TeamCity before 2021.2.1, an unauthenticated attacker can cancel running builds via an XML-
    RPC request to the TeamCity server. (CVE-2022-24336)

  - JetBrains TeamCity before 2021.2.1 was vulnerable to stored XSS. (CVE-2022-24339)

  - In JetBrains TeamCity before 2021.2.1, URL injection leading to CSRF was possible. (CVE-2022-24342)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  # https://www.jetbrains.com/privacy-security/issues-fixed/?product=TeamCity&version=2021.2.1
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0551780c");
  script_set_attribute(attribute:"solution", value:
"Upgrade to JetBrains TeamCity version 2021.2.1 or later.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-24340");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(284, 352, 601, 611, 613, 79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2022/02/08");
  script_set_attribute(attribute:"patch_publication_date", value:"2022/02/08");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/08/25");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:jetbrains:teamcity");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_set_attribute(attribute:"enable_cgi_scanning", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("jetbrains_teamcity_web_detect.nbin", "jetbrains_teamcity_win_installed.nbin", "jetbrains_teamcity_nix_installed.nbin");
  script_require_keys("installed_sw/JetBrains TeamCity");

  exit(0);
}

include('vdf.inc');

# @tvdl-content-verify-only
var vuln_data = {
  "metadata": {
    "spec_version": "1.0"
  },
  "checks": [
    {
      "product": {
        "name": "JetBrains TeamCity",
        "type": "app"
      },
      "check_algorithm": "default",
      "constraints": [
        {
          "fixed_version": "2021.2.1"
        }
      ]
    }
  ]
};

var vdf_result = vdf::check_and_report(vuln_data:vuln_data, severity:SECURITY_HOLE, flags:{"xsrf": "TRUE", "xss": "TRUE"});
vdf::handle_check_and_report_errors(vdf_result:vdf_result);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

25 Aug 2026 00:00Current
6.3Medium risk
Vulners AI Score6.3
CVSS 27.5
CVSS 3.19.8
EPSS0.03252
4