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 Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras
Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

CVE Research

Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

A single operator compromised 14,530+ Dahua cameras across Ukraine and Russia in 35 days, chaining credential brute-force, a CVE-2021-33044/33045 authentication bypass, and P2P relay abuse to plant a persistent backdoor and harvest transferable admin access.

Aug 21, 2026

Open Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF
Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE Research

Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE-2026-19478 is a critical code injection vulnerability in GitLab CE/EE that allows an unauthenticated attacker to modify or delete public projects and user data by abusing a GraphQL directive. A second high-severity issue, CVE-2026-19650, involves cross-site request forgery in the GraphQL multiplex query handler. This article examines how the critical vulnerability works, the availability of a public proof-of-concept, the potential impact on self-managed instances, the affected versions, and the security updates released to remediate both issues.

Aug 19, 2026

Open No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners
No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

CVE Research

No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

Aug 19, 2026

Open Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies
Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

CVE Research

Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

Aug 19, 2026

Critical Security Vulnerabilities Discovered in JetBrains TeamCity: Ur | SecPod