Authentication Bypass Leads to Remote Code Execution in JetBrains TeamCity Before 2023.05.4
CVE-2023-42793
Key Information:
- Vendor
Jetbrains
- Status
- CVE ID
- CVE ID:
- CVE-2023-42793
- Vendor
- CVE Published:
- 19 September 2023
- Fixed in
- Fixed in:
- 2023.05.4
Timeline
Exploit known 15 days after it was published
- π‘
Public PoC available
- π°
First article discovered by Matrice Digitale
- π°
Used in Ransomware
- πΎ
Exploit known to exist
- π¦
CISA Reported
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- Yes: Public exploit code (7 proof-of-concepts)
- Yes: Attacked in the wild (on CISA's KEV list)
- Yes: Used by ransomware
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Update to a fixed version
2Follow CISA's required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
3Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach TeamCity. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
4Look for signs of compromise
It is being exploited in the wild, so check logs on exposed TeamCity systems for unusual requests or new processes from before you patched. The 7 public proof-of-concepts show what an attack looks like.
5Why it's rated "Patch now"
- CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
- Ransomware groups use it.
- Exploit code is public, so attacks are easy to copy.
- It can be exploited remotely without credentials.
- EPSS gives it a 99.9% chance of exploitation in the next 30 days.
- Its CVSS severity is critical (9.8).
What is CVE-2023-42793?
An authentication bypass vulnerability was discovered in JetBrains TeamCity versions before 2023.05.4, which could allow attackers to gain unauthorized access to the TeamCity server. This flaw could potentially enable remote code execution (RCE) by exploiting the security weaknesses present in the server's authentication mechanisms. Organizations using affected versions are urged to apply the necessary patches to mitigate the risk.
CISA has reported CVE-2023-42793
CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2023-42793 as being exploited and is known by the CISA as enabling ransomware campaigns.
The CISA's recommendation is: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
Patch Now: Critical TeamCity Bug Allows for Server Takeovers
Cyberattackers can exploit a vulnerability in JetBrain's continuous integration and delivery (CI/CD) server (APT target) to gain administrative control.
JetBrains warns of new TeamCity auth bypass vulnerability
JetBrains urged customers today to patch their TeamCity On-Premises servers against a critical authentication bypass vulnerability that can let attackers take over vulnerable instances with admin privileges.
'Midnight Blizzard' Breached HPE Email Months Before Microsoft Hack
The Russian APT behind the SolarWinds attacks exfiltrated data from HPE email accounts last May.
References
More Jetbrains Vulnerabilities
Remote Code Execution in JetBrains TeamCity Affects Multiple Versions
Remote Code Execution in JetBrains TeamCity
Privilege Escalation Vulnerability in JetBrains TeamCity
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction