Description Preview
Overview
This CVE details a critical authentication bypass in JetBrains TeamCity that can lead to remote code execution on the server. The vulnerability affects TeamCity versions preceding 2023.05.4 and is exploitable over the network without any user interaction or prior privileges. With a CVSS v3.1 base score of 9.8, the impact spans confidentiality, integrity, and availability. Patch information and remediation guidance have been published by JetBrains, including a fixed release in 2023.05.4 and subsequent updates.
Remediation
- Upgrade to TeamCity 2023.05.4 or a later version where the vulnerability is fixed. Plan and perform the upgrade in a controlled maintenance window (backup current data, test the upgrade in a staging environment, then roll out to production).
 - If a quick upgrade is not feasible, implement compensating network controls: place TeamCity behind a firewall or VPN, restrict access to trusted networks, and require strong authentication through a protected reverse proxy or gateway. Consider enabling multi-factor authentication where available and enforcing TLS encryption.
 - Disable or limit unauthenticated access to the TeamCity server and monitor access logs for unusual activity. Apply web application firewall rules to block abuse patterns related to this vulnerability.
 - After remediation, verify that the patch is effective by testing a controlled exploitation scenario in a lab and reviewing server logs for indicators of attempted exploitation. Keep an eye on security advisories and ensure ongoing vulnerability management coverage.
 
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://attackerkb.com/topics/1XEEEkGHzt/cve-2023-42793
 - https://www.securityweek.com/recently-patched-teamcity-vulnerability-exploited-to-hack-servers/
 - https://www.rapid7.com/blog/post/2023/09/25/etr-cve-2023-42793-critical-authentication-bypass-in-jetbrains-teamcity-ci-cd-servers/
 - https://www.sonarsource.com/blog/teamcity-vulnerability/
 
Early Warning
Customers using Armis Early Warning were notified about this vulnerability before it appeared in CISA's Known Exploited Vulnerabilities Catalog, enabling them to assess their exposure and act proactively. Armis offers these examples of CVEs already included in CISA KEV for potential customers. Click here to learn how to receive alerts earlier.
- Armis Alert Date
 - Oct 2, 2023
 - CISA KEV Date
 - Oct 4, 2023
 
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Finance and InsuranceFinance and Insurance: Low
 - ManufacturingManufacturing: Low
 - Management of Companies & EnterprisesManagement of Companies & Enterprises: Low
 - Arts, Entertainment & RecreationArts, Entertainment & Recreation: Low
 - Other Services (except Public Administration)Other Services (except Public Administration): Low
 - Public AdministrationPublic Administration: Low
 - Accommodation & Food ServicesAccommodation & Food Services: Low
 - Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services: Low
 - Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting: Low
 - ConstructionConstruction: Low
 - Educational ServicesEducational Services: Low
 - Health Care & Social AssistanceHealth Care & Social Assistance: Low
 - InformationInformation: Low
 - MiningMining: Low
 - Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services: Low
 - Real Estate Rental & LeasingReal Estate Rental & Leasing: Low
 - Retail TradeRetail Trade: Low
 - Transportation & WarehousingTransportation & Warehousing: Low
 - UtilitiesUtilities: Low
 - Wholesale TradeWholesale Trade: Low
 

