CVE-2024-27198

CRITICAL KEV RANSOMWARE NUCLEI LAB

TeamCity < 2023.11.4 - Authentication Bypass

Title source: nuclei
STIX 2.1

Exploitation Summary

CVE-2024-27198 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added March 7, 2024, with confirmed use in ransomware campaigns. EIP tracks 21 public exploits from researchers including İbrahimsql, W01fh4cker, Chocapikk, including a Metasploit module exploits/multi/http/jetbrains_teamcity_rce_cve_2024_27198. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages an authentication bypass vulnerability in JetBrains TeamCity by manipulating JSP handling and REST API endpoints to create an admin user without authentication.

Description

In JetBrains TeamCity before 2023.11.4 authentication bypass allowing to perform admin actions was possible

Exploits (21)

exploitdb WORKING POC
by İbrahimsql · pythonwebappsmultiple
https://www.exploit-db.com/exploits/52411

This exploit leverages an authentication bypass vulnerability in JetBrains TeamCity by manipulating JSP handling and REST API endpoints to create an admin user without authentication.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity < 2023.11.4
No auth needed
Prerequisites: Network access to the TeamCity server · Target running vulnerable version of TeamCity
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 155 stars
by W01fh4cker · remote
https://github.com/W01fh4cker/CVE-2024-27198-RCE

This PoC exploits CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity, to achieve remote code execution (RCE) by uploading a malicious plugin. The exploit leverages JSP-based command injection and requires no prior authentication.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2024-27198)
No auth needed
Prerequisites: Network access to TeamCity server · TeamCity server vulnerable to CVE-2024-27198
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 36 stars
by Chocapikk · remote
https://github.com/Chocapikk/CVE-2024-27198

This exploit demonstrates Remote Code Execution (RCE) on TeamCity servers by adding a user with system administration privileges and executing commands via exposed REST APIs. It includes functionality for both single-target exploitation and batch scanning.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity
No auth needed
Prerequisites: Exposed TeamCity REST API endpoints · Network access to the target server
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 35 stars
by yoryio · remote
https://github.com/yoryio/CVE-2024-27198

This PoC exploits CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity Server, by creating a new admin user via a crafted endpoint. It includes version checking and user creation with SYSTEM_ADMIN privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity Server <= 2023.11.3
No auth needed
Prerequisites: Network access to the TeamCity Server · Vulnerable endpoint exposed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 34 stars
by Stuub · remote
https://github.com/Stuub/RCity-CVE-2024-27198

This PoC exploits CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity, to create an admin user and achieve remote code execution (RCE). The script automates the process of user creation, token generation, and CSRF token retrieval.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (version not specified)
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server vulnerable to CVE-2024-27198
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 6 stars
by K3ysTr0K3R · remote
https://github.com/K3ysTr0K3R/CVE-2024-27198-EXPLOIT

This PoC exploits CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity before 2023.11.4, allowing unauthorized users to create admin accounts via a crafted POST request to '/hax?jsp=/app/rest/users;.jsp'.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity < 2023.11.4
No auth needed
Prerequisites: Network access to the TeamCity server · Target running vulnerable version of TeamCity
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by geniuszly · remote
https://github.com/geniuszly/CVE-2024-27198

This PoC exploits CVE-2024-27198, an authentication bypass vulnerability in TeamCity, to create a new admin user. It checks the server version and attempts to exploit the vulnerable endpoint to add a user with SYSTEM_ADMIN privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2024-27198)
No auth needed
Prerequisites: Network access to the TeamCity server · Python 3.6+ with requests and urllib3 libraries
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by passwa11 · remote
https://github.com/passwa11/CVE-2024-27198-RCE

This PoC exploits CVE-2024-27198, an authentication bypass leading to RCE in JetBrains TeamCity. It adds a user, generates a token, and executes commands via the debug endpoint.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity Pre-2023.11.4
No auth needed
Prerequisites: Network access to TeamCity server · Vulnerable version of TeamCity
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by CharonDefalt · remote
https://github.com/CharonDefalt/CVE-2024-27198-RCE

This PoC exploits CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity, to achieve remote code execution (RCE) by uploading a malicious plugin. The exploit leverages JSP payloads to execute arbitrary commands on the target system.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2024-27198)
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server vulnerable to CVE-2024-27198
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Ne0zer01 · poc
https://github.com/Ne0zer01/CVE-2024-27198_LAB

This repository contains a functional exploit for CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity. The exploit leverages a path confusion issue in the REST API routing mechanism to generate admin access tokens without authentication.

Classification
Working Poc 100%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity (versions prior to 2023.11.4)
No auth needed
Prerequisites: Access to the TeamCity instance · Knowledge of an existing user ID (e.g., admin ID:1)
devstral-2 · analyzed May 19, 2026 Full analysis →
nomisec WORKING POC
by cmpnn-romain · remote
https://github.com/cmpnn-romain/CVE-2024-27198_Lab

This repository contains a functional exploit for CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity. The exploit leverages a path confusion issue in the REST API routing mechanism to generate admin tokens without authentication.

Classification
Working Poc 100%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity (versions prior to 2023.11.4)
No auth needed
Prerequisites: Access to the TeamCity instance · Knowledge of an existing user ID (e.g., admin ID:1)
devstral-2 · analyzed May 18, 2026 Full analysis →
nomisec WRITEUP
by dbwlsdnr95 · poc
https://github.com/dbwlsdnr95/CVE-2024-27198

This repository provides a detailed technical analysis and simulation environment for CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity. It includes a Docker-based setup to demonstrate the exploit chain from authentication bypass to RCE via malicious plugin upload.

Classification
Writeup 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity 2023.11.3
No auth needed
Prerequisites: Docker environment · TeamCity 2023.11.3 vulnerable version
devstral-2 · analyzed Mar 10, 2026 Full analysis →
gitlab WORKING POC
by wnds0r · poc
https://gitlab.com/wnds0r/cve-2024-27198

The repository contains a functional exploit for CVE-2024-27198, an authentication bypass vulnerability in JetBrains TeamCity versions 2023.11.3 and below. The exploit sends a crafted POST request to create a new admin user, leveraging the vulnerability to bypass authentication.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity <= 2023.11.3
No auth needed
Prerequisites: Network access to the TeamCity server
devstral-2 · analyzed Feb 23, 2026 Full analysis →
nomisec WORKING POC
by EynaExp · remote
https://github.com/EynaExp/CVE-2024-27198-POC

This repository contains a Python-based mass scanner and exploit for CVE-2024-27198, targeting JetBrains TeamCity authentication bypass and RCE. It includes multi-threaded scanning, admin user creation, and RCE validation via debug endpoints or plugin uploads.

Classification
Working Poc 95%
Attack Type
Auth Bypass | Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (on-prem, versions prior to patch)
No auth needed
Prerequisites: Network access to TeamCity instance · Python 3.8+ with dependencies (requests, urllib3, faker)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by ArtemCyberLab · poc
https://github.com/ArtemCyberLab/Project-Exploiting-CVE-2024-27198-RCE-Vulnerability

This is a writeup describing the exploitation of CVE-2024-27198, an RCE vulnerability in TeamCity. It details the steps taken to upload a malicious plugin, achieve remote command execution via a webshell, and retrieve a flag from the target server.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TeamCity (version not specified)
No auth needed
Prerequisites: Access to a vulnerable TeamCity server · Python 3 environment to run the exploit script
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Cythonic1 · remote
https://github.com/Cythonic1/CVE-2024-27198_POC

This PoC exploits an authentication bypass vulnerability in JetBrains TeamCity (CVE-2024-27198) by crafting a malicious request with a JSP parameter to access authenticated endpoints. It demonstrates token extraction, user creation, plugin upload, and command execution.

Classification
Working Poc 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions affected by CVE-2024-27198)
No auth needed
Prerequisites: Network access to the TeamCity server · Target server must be vulnerable to CVE-2024-27198
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by jrbH4CK · remote
https://github.com/jrbH4CK/CVE-2024-27198

This PoC exploits an authentication bypass vulnerability in JetBrains TeamCity (CVE-2024-27198) to create an admin account. It leverages a path traversal technique to bypass authentication and sends a crafted JSON payload to grant SYSTEM_ADMIN privileges.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity before 2023.11.4
No auth needed
Prerequisites: Network access to the TeamCity server · TeamCity server running a vulnerable version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by HPT-Intern-Task-Submission · remote
https://github.com/HPT-Intern-Task-Submission/CVE-2024-27198

The writeup details an authentication bypass vulnerability in JetBrains TeamCity (CVE-2024-27198) due to improper handling of the `jsp` parameter in `BaseController`, allowing unauthenticated access to arbitrary endpoints and RCE via admin privilege escalation.

Classification
Writeup 90%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (versions before 2023.11.4)
No auth needed
Prerequisites: Network access to TeamCity server · TeamCity version < 2023.11.4
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by Shimon03 · poc
https://github.com/Shimon03/Explora-o-RCE-n-o-autenticado-JetBrains-TeamCity-CVE-2024-27198-

This repository contains a writeup in Portuguese describing CVE-2024-27198, an unauthenticated RCE vulnerability in JetBrains TeamCity. No exploit code or technical details are provided in the snippet.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Theoretical
Reliability
Theoretical
Target: JetBrains TeamCity
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by rampantspark · remote
https://github.com/rampantspark/CVE-2024-27198

This Go-based exploit leverages an authentication bypass vulnerability in TeamCity Server (CVE-2024-27198) to create a new admin user via a vulnerable JSP endpoint. It checks the server version and exploits the flaw to add a SYSTEM_ADMIN user.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Trivial
Reliability
Reliable
Target: JetBrains TeamCity Server <= 2023.11.3
No auth needed
Prerequisites: Network access to TeamCity Server · Vulnerable endpoint exposed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by sfewer-r7 · rubypocjava
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/jetbrains_teamcity_rce_cve_2024_27198.rb

This Metasploit module exploits an authentication bypass vulnerability (CVE-2024-27198) in JetBrains TeamCity to create an administrator access token or user account, then uploads a malicious plugin for unauthenticated remote code execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JetBrains TeamCity (tested on versions 2018.2.4, 2023.11.2, 2023.11.3)
No auth needed
Prerequisites: Network access to TeamCity server (default port 8111) · TeamCity version vulnerable to CVE-2024-27198
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

TeamCity < 2023.11.4 - Authentication Bypass
CRITICALVERIFIEDby DhiyaneshDk
Shodan: http.component:"TeamCity" || http.title:teamcity || http.component:"teamcity"
FOFA: title=teamcity

Scores

CVSS v3 9.8
EPSS 0.9994
EPSS Percentile 100.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull jetbrains/teamcity-server:2023.11.3
docker pull jetbrains/teamcity-server:2023.11.4
+16 more repos

Details

CISA KEV 2024-03-07
VulnCheck KEV 2024-03-05
InTheWild.io 2024-03-07
ENISA EUVD EUVD-2024-24437
Ransomware Use Confirmed
CWE
CWE-288
Status published
Products (1)
jetbrains/teamcity < 2023.11.4
Published Mar 04, 2024
KEV Added Mar 07, 2024
Tracked Since Feb 18, 2026