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 Management, Risk 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 Beyond GitLab's Critical RCE: What CVE-2026-97229 Reveals About Exploitation, Patch Gaps, and Security Response
vulnerability researchBeyond GitLab's Critical RCE: What CVE-2026-97229 Reveals About Exploitation, Patch Gaps, and Security Response

CVE Research

Beyond GitLab's Critical RCE: What CVE-2026-97229 Reveals About Exploitation, Patch Gaps, and Security Response

Nov 6, 2026

Open Gorbag Targets Ukrainian Organizations with BeautyStealer and WinRAR Exploitation
malware researchGorbag Targets Ukrainian Organizations with BeautyStealer and WinRAR Exploitation

CVE Research

Gorbag Targets Ukrainian Organizations with BeautyStealer and WinRAR Exploitation

Gorbag uses spearphishing and weaponized WinRAR archives to deploy BeautyStealer against Ukrainian organizations. The malware steals browser credentials, VPN configuration files, and targeted documents before exfiltrating the data and deleting itself.

Nov 5, 2026

Open Synology NAS Under Siege: C3RB3R Ransomware Strikes Unpatched Devices
vulnerability researchSynology NAS Under Siege: C3RB3R Ransomware Strikes Unpatched Devices

CVE Research

Synology NAS Under Siege: C3RB3R Ransomware Strikes Unpatched Devices

Synology has warned customers about an ongoing wave of ransomware attacks targeting network-attached storage (NAS) devices running outdated versions of DiskStation Manager (DSM). The attacks have been associated with C3RB3R ransomware, a threat capable of encrypting stored files and demanding payment for their recovery.

Nov 4, 2026

Open CISA KEV Exploitation in October 2026: Threat Actors, CVEs and Attack Trend
threat intelligenceCISA KEV Exploitation in October 2026: Threat Actors, CVEs and Attack Trend

CVE Research

CISA KEV Exploitation in October 2026: Threat Actors, CVEs and Attack Trend

Nov 4, 2026