teamcity-guest-login-enabled: JetBrains TeamCity - Guest User Access Enabled

2025-08-01 JetBrains TeamCity PoC Public

Description

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

PoC

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,vuln

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: 4b0a00483046022100ec113870575d05f190f1dabee1be4b9e1129b41ffa240467072b7f74900523eb022100995ec72ffb22e84671720568ab327c08559237da6bada1e1e83736b0185178ca:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities