SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Critical Security Vulnerabilities Discovered in JetBrains TeamCity: Urgent Action Required

Critical Security Vulnerabilities Discovered in JetBrains TeamCity: Urgent Action Required

Recent disclosures have revealed critical vulnerabilities in JetBrains TeamCity. Two vulnerabilities have been identified, namely: CVE-2024-27198 and CVE-2024-27199. It allows unauthenticated attackers to bypass authentication measures and gain unauthorized access to sensitive endpoints within the T...

Mar 4, 2024By Charith GR3 min read

Recent disclosures have revealed critical vulnerabilities in JetBrains TeamCity. Two vulnerabilities have been identified, namely: CVE-2024-27198 and CVE-2024-27199. It allows unauthenticated attackers to bypass authentication measures and gain unauthorized access to sensitive endpoints within the TeamCity server.

CVE-2024-27198: Authentication Bypass Flaw

CVE-2024-27198 exposes a critical vulnerability in TeamCity’s authentication mechanism, granting unauthenticated attackers complete control over vulnerable servers. This flaw stems from the mishandling of requests by the jetbrains build Server controllers. BaseController class, enabling attackers to manipulate URI paths and access authenticated endpoints directly.

Exploitation Process for CVE-2024-27198:

  1. The attacker initiates a 404 response by requesting a non-existent resource, such as “/gojo”.
  2. An HTTP query parameter named “jsp” is appended to the URI path, containing the value of an authenticated URI path ending with “.jsp”.
  3. The manipulated URI path becomes “/gojo?jsp=/app/rest/server;.jsp”, leveraging the authentication bypass to access authenticated endpoints.
  4. Attackers can exploit this vulnerability to execute actions like creating new administrator users or generating administrator access tokens through targeted requests to specific REST API endpoints.

Impact of CVE-2024-27198:

Exploiting this vulnerability grants attackers full control over the TeamCity server, including access to projects, builds, agents, and associated artifacts.

CVE-2024-27199: Path Traversal Vulnerability

CVE-2024-27199 exposes an authentication bypass vulnerability in TeamCity’s web server, enabling unauthenticated attackers to access authenticated endpoints via path traversal flaws. By exploiting these vulnerabilities, attackers can modify system settings and disclose sensitive information without proper authentication.

Exploitation Process for CVE-2024-27199:

  1. Attackers exploit path traversal vulnerabilities in endpoints like “/res/”, “/update/”, and “/.well-known/acme-challenge/” to reach authenticated endpoints.
  2. Utilizing double dot path segments, attackers traverse to alternative endpoints without authentication, such as accessing “/admin/diagnostic.jsp” by using paths like “/res/../admin/diagnostic.jsp”.
  3. Attackers can exploit endpoints like “/app/https/settings/uploadCertificate” to upload malicious HTTPS certificates or alter HTTPS port numbers.

Impact of CVE-2024-27199:

Unauthenticated attackers can modify system settings, disclose sensitive information, and launch denial-of-service attacks, disrupting server-client communications.

Solutions

JetBrains has launched TeamCity 2023.11.4, effectively addressing the two vulnerabilities. They have also disclosed the severity of these vulnerabilities and the potential consequences of their exploitation, emphasizing that “all versions through 2023.11.3 are impacted.”Administrators are strongly advised to promptly update their servers to version 2023.11.4. For those unable to do so immediately, a security patch plugin is available for both newer versions like TeamCity 2018.2 and onwards, as well as for older editions like TeamCity 2018.1 and earlier.

SanerNow Vulnerability ManagementRisk Prioritization, and Patch Management detect and automatically fix vulnerabilities with risk-based remediation. With SanerNow, you can keep your systems updated and secure.

Featured Posts

Open StyleSmuggler: Inside the Unpatched Magento Zero-Day Backdooring Live Stores
StyleSmuggler: Inside the Unpatched Magento Zero-Day Backdooring Live Stores

CVE Research

StyleSmuggler: Inside the Unpatched Magento Zero-Day Backdooring Live Stores

StyleSmuggler, an unpatched Magento and Adobe Commerce flaw letting attackers execute code without authentication via log poisoning, installing a persistent Linux backdoor that has already compromised live stores with no vendor patch available.

Sep 7, 2026

Open CVE-2026-6471: 12-Year-Old PostgreSQL PostGREShell Flaw Enables Server Takeover
CVE-2026-6471: 12-Year-Old PostgreSQL PostGREShell Vulnerability

CVE Research

CVE-2026-6471: 12-Year-Old PostgreSQL PostGREShell Flaw Enables Server Takeover

Sep 7, 2026

Open Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212
Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212

CVE Research

Root-Level RCE Flaw in Cisco Nexus 9000 Series Switches Exposes Networks to Complete Compromise — CVE-2026-20212

CVE-2026-20212 is a critical vulnerability in Cisco Nexus 9000 Series Switches that use Silicon One ASICs. It allows an unauthenticated remote attacker to execute code with root privileges by sending crafted input to TCP ports 43210 and 43211, which are reachable in the default Layer 3 VRF. Exploitation can also crash the S1HAL process and force a device reload. This article covers how the vulnerability works, the affected product identifiers, its potential impact, available workarounds, and how to identify fixed software using the Cisco Software Checker.

Sep 4, 2026

Open SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution
SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution

CVE Research

SonicWall SMA 1000 Under Active Attack: Two Zero-Days Enable SSRF and Remote Code Execution

Sep 3, 2026