Vulnerabilities > CVE-2023-42793 - Authentication Bypass Using an Alternate Path or Channel vulnerability in Jetbrains Teamcity
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Directory Indexing An adversary crafts a request to a target that results in the target listing/indexing the content of a directory as output. One common method of triggering directory contents as output is to construct a request containing a path that terminates in a directory name rather than a file name since many applications are configured to provide a list of the directory's contents when such a request is received. An adversary can use this to explore the directory tree on a target as well as learn the names of files. This can often end up revealing test files, backup files, temporary files, hidden files, configuration files, user accounts, script contents, as well as naming conventions, all of which can be used by an attacker to mount additional attacks.
- Removing/short-circuiting 'guard logic' Attackers can, in some cases, get around logic put in place to 'guard' sensitive functionality or data. The attack may involve gaining access to and calling protected functionality (or accessing protected data) directly, may involve subverting some aspect of the guard's implementation, or outright removal of the guard, if possible.
Related news
- Critical JetBrains TeamCity Flaw Could Expose Source Code and Build Pipelines to Attackers (source)
- Critical JetBrains TeamCity vulnerability could be exploited to launch supply chain attacks (CVE-2023-42793) (source)
- Ransomware gangs now exploiting critical TeamCity RCE flaw (source)
- CISA Warns of Active Exploitation of JetBrains and Windows Vulnerabilities (source)
- North Korean hackers exploit critical TeamCity flaw to breach networks (source)
- Microsoft Warns of North Korean Attacks Exploiting JetBrains TeamCity Flaw (source)
- Russian hackers target unpatched JetBrains TeamCity servers (source)
References
- https://www.jetbrains.com/privacy-security/issues-fixed/
- https://blog.jetbrains.com/teamcity/2023/09/cve-2023-42793-vulnerability-post-mortem/
- http://packetstormsecurity.com/files/174860/JetBrains-TeamCity-Unauthenticated-Remote-Code-Execution.html
- https://www.securityweek.com/recently-patched-teamcity-vulnerability-exploited-to-hack-servers/
- https://attackerkb.com/topics/1XEEEkGHzt/cve-2023-42793
- https://www.rapid7.com/blog/post/2023/09/25/etr-cve-2023-42793-critical-authentication-bypass-in-jetbrains-teamcity-ci-cd-servers/