JetBrains TeamCity - Registration Enabled
ID: teamcity-registration-enabled
Severity: high
Author: Ph33r
Tags: misconfig,auth-bypass,teamcity,jetbrains,intrusive
Description
Section titled “Description”JetBrains TeamCity allows all visitors to register due to a misconfiguration.
YAML Source
Section titled “YAML Source”id: teamcity-registration-enabled
info: name: JetBrains TeamCity - Registration Enabled author: Ph33r severity: high description: | JetBrains TeamCity allows all visitors to register due to a misconfiguration. reference: - https://ph33r.medium.com/misconfig-in-teamcity-panel-lead-to-auth-bypass-in-apache-org-0day-146f6a1a4e2b 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,auth-bypass,teamcity,jetbrains,intrusive
http: - raw: - | GET /registerUser.html?init=1 HTTP/1.1 Host: {{Hostname}}
host-redirects: true max-redirects: 2 matchers: - type: word words: - '<title>Register a New User Account ? TeamCity</title>'# digest: 4a0a00473045022100af5a1e2d71bc65a101ace7559742dc9ef7e715700bc93b385d9c8661b44cffea022013b64ba03f2f812f60cafb53675ee26037abc526a94b3a652e3f6ff89d10d9c1:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/misconfiguration/teamcity/teamcity-registration-enabled.yaml"