Exploit database

Vulnerability

CVE-2024-27199

Vulnerability details

Score
7.3
Severity
high

CVSS 3.1 · JetBrains

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Description

In JetBrains TeamCity before 2023.11.4 path traversal allowing to perform limited admin actions was possible

CVE Program

Exploit source choices

8 sources
JetBrains TeamCity Unauthenticated Remote Code Execution
MSF-multi--http--jetbrains_teamcity_rce_cve_2024_27198MetasploitJava,Linux,Unix,Windows / remotePreferred

This module exploits an authentication bypass vulnerability in JetBrains TeamCity. An unauthenticated attacker can leverage this to access the REST API and create a new administrator access token. This token can be used to upload a plugin which contains a Metasploit payload, allowing the attacker to achieve unauthenticated RCE on the target TeamCity server. On older versions of TeamCity, access tokens do not exist so the exploit will instead create a new administrator account before uploading a plugin. Older version of TeamCity have a debug endpoint (/app/rest/debug/process) that allows for arbitrary commands to be executed, however recent version of TeamCity no longer ship this endpoint, hence why a plugin is leveraged for code execution instead, as this is supported on all versions tested.

2024-03-04jetbrains_teamcity_rce_cve_2024_27198.rb
aneasystone/github-trending
GH-57cc0777a8d8d3714cc5a0fca8b6fd16GitHubUnofficial GitHub source

使用 Github Actions 跟踪 Github 趋势项目。

2022-08-0955 files · 213 stars
w01fh4cker/cve-2024-27198-rce
GH-69fa93340d0d36ae9272ace373231e66GitHubUnofficial GitHub source

CVE-2024-27198 & CVE-2024-27199 Authentication Bypass --> RCE in JetBrains TeamCity Pre-2023.11.4

2024-03-062 files · 153 stars
yoryio/cve-2024-27198
GH-99d8d172888f5cdd0b140cdee60726f5GitHubUnofficial GitHub source

Exploit for CVE-2024-27198 - TeamCity Server

2024-03-052 files · 37 stars
stuub/rcity-cve-2024-27198
GH-d467c9d678a12d0c3dffad4b87eefc40GitHubUnofficial GitHub source

CVE-2024-27198 & CVE-2024-27199 PoC - RCE, Admin Account Creation, Enum Users, Server Information

2024-04-222 files · 35 stars
passwa11/cve-2024-27198-rce
GH-b804a2ab7007e0ab3981081133cff645GitHubUnofficial GitHub source

passwa11/cve-2024-27198-rce source repository

2024-03-082 files · 3 stars
charondefalt/cve-2024-27198-rce
GH-6f1f0797ba2c4cd02e6dfa7f16f330cfGitHubUnofficial GitHub source

charondefalt/cve-2024-27198-rce source repository

2024-03-092 files · 1 stars