Skip to content

JetBrains TeamCity - Guest User Access Enabled

ID: teamcity-guest-login-enabled

Severity: high

Author: Ph33r

Tags: misconfig,teamcity,jetbrains

TeamCity provides the ability to turn on the guest login allowing anonymous access to the TeamCity UI.

id: teamcity-guest-login-enabled
info:
name: JetBrains TeamCity - Guest User Access Enabled
author: Ph33r
severity: high
description: |
TeamCity provides the ability to turn on the guest login allowing anonymous access to the TeamCity UI.
reference:
- https://ph33r.medium.com/misconfig-in-teamcity-panel-lead-to-auth-bypass-in-apache-org-exploit-146f6a1a4e2b
- https://www.jetbrains.com/help/teamcity/guest-user.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 7.3
cwe-id: CWE-200
cpe: cpe:2.3:a:jetbrains:teamcity:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
shodan-query: http.component:"TeamCity"
product: teamcity
vendor: jetbrains
tags: misconfig,teamcity,jetbrains
http:
- raw:
- |
GET /guestLogin.html?guest=1 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'Location: /overview.html'
- 'TCSESSIONID='
condition: and
- type: status
status:
- 302
# digest: 490a0046304402201f9810bed8b6ddc0f68da422519156ddb5acea878ae2b99be2bc13a78f1dcb6d022028bed7855d20fb1f99d0415b00f9b9f8a4308cc80b15c791f6870dfbf0622b06: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/misconfiguration/teamcity/teamcity-guest-login-enabled.yaml"

View on Github