CVE-2023-42793 — Jetbrains Teamcity
CRITICALCVE-2023-42793 is a critical-severity (CVSS 9.8) CWE-288 vulnerability in jetbrains teamcity. 10 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available — see the affected versions and patch details below.
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
Exploitation Status
Actively exploited in the wild
- CISA’s SSVC triage classifies this CVE as under active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-42793.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Description
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
Affected Products
teamcityjetbrainsResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
JetBrains TeamCity 2023.05.3 - Remote Code Execution (RCE)
by ByteHunter · Mar 14, 2024
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every jetbrains teamcity deployment and check each version against the affected-products list above.
Fix
Apply the jetbrains teamcity security patch or hotfix for CVE-2023-42793 on the affected version, following the vendor advisory for your exact build.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
How to detect CVE-2023-42793
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2023-42793 -u https://target- Template
- JetBrains TeamCity < 2023.05.4 - Remote Code Execution
- Severity
- critical
- Impact
- Unauthenticated attackers can bypass authentication by creating admin tokens to gain full administrative access to TeamCity Server, potentially executing arbitrary code and compromising the entire CI/CD infrastructure and source code.
- Remediation
- Update JetBrains TeamCity to version 2023.05.4 or later that properly validates authentication and prevents token creation through unauthenticated requests.
Template by ProjectDiscovery nuclei-templates (iamnoooob, rootxharsh, pdresearch), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2023-42793 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.