/CVE-2024-27198

A PoC for CVE-2024-27198 written in golang

Primary LanguageGo

CVE-2024-27198

Auth bypass for TeamCity Server version 2023.11.3 and below.

image

NIST: https://nvd.nist.gov/vuln/detail/CVE-2024-27198

Rapid7 blog post: https://www.rapid7.com/blog/post/2024/03/04/etr-cve-2024-27198-and-cve-2024-27199-jetbrains-teamcity-multiple-authentication-bypass-vulnerabilities-fixed/

Example Usage

go run CVE-2024-27198.go -h
  -s string
    	TeamCity Server
  -p string
    	New admin password
  -u string
    	New admin username
  -proxy
        Proxy URL (optional)
go run CVE-2024-27198.go -s http://IP_OR_FQDN:PORT -u new_admin_username -p new_admin_password -proxy http://IP_OR_FQDN:PORT

*Please Refer to https://github.com/yoryio/CVE-2024-27198 for instructions on setting up a lab environment.