LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2023-42793: JetBrains TeamCity Authentication Bypass Vulnerability

RBRecent Breaches Vulnerability Intelligence·Oct 4, 2023
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
Oct 25, 2023
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2023-42793 to its Known Exploited Vulnerabilities catalog on Oct 4, 2023, with a federal patch deadline of Oct 25, 2023 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

JetBrains TeamCity contains an authentication bypass vulnerability that allows for remote code execution on TeamCity Server.

CVE-2023-42793 is an authentication bypass vulnerability in JetBrains TeamCity that can lead to remote code execution on the TeamCity Server. Because TeamCity is commonly used as a continuous integration and delivery platform, successful abuse can give an attacker control over build infrastructure, credentials, and connected systems. CISA notes known ransomware use of this issue, which raises the urgency for teams that run TeamCity to confirm exposure and act quickly.

Public detail is limited to the CISA summary and the CWE classification; exact affected versions, exploit mechanics, and scoring must be confirmed against the vendor advisory. The required action is to apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

How it works

The underlying weakness is classified as CWE-288 (Authentication Bypass Using an Alternate Path or Channel). In products of this class, an attacker can reach a privileged function or endpoint without completing the normal authentication sequence. Once authentication is bypassed, the same access can be leveraged to achieve remote code execution on the TeamCity Server itself.

At a technical level, the attacker identifies an alternate path that the server treats as already authenticated or that skips credential checks. With that foothold, the attacker can issue commands or install code under the privileges of the TeamCity process. No further exploit details are provided in the available facts; defenders should treat any unauthenticated request that results in privileged actions as a potential indicator and validate behavior against the vendor advisory.

Am I affected? How to find it in your systems

JetBrains TeamCity typically runs as a dedicated CI/CD server, often on internal networks or in cloud environments that build, test, and deploy software. Inventory every host or container that presents a TeamCity management interface, agent connection, or build-server role. Check configuration management databases, asset inventories, and network scans for services listening on the ports TeamCity uses by default or that you have customized.

Because specific version ranges are not listed in the facts, compare every installed TeamCity Server instance against the versions and configurations named in the vendor advisory. Look for any instance that has not yet received the vendor-recommended update. Review access logs, authentication logs, and process-creation telemetry for signs of unauthenticated administrative actions, unexpected agent registrations, or new processes spawned by the TeamCity service account. Unusual outbound connections from the build server or sudden changes to build configurations can also indicate post-exploitation activity.

How to remediate

Patch first. Apply the vendor update or mitigation steps named in the JetBrains advisory for CVE-2023-42793. After the update is installed, restart the TeamCity Server service as directed and verify that the new version is reported by the management interface.

Once the patch is in place, harden the remaining attack surface that is common to authentication-bypass and remote-code-execution flaws in CI/CD platforms:

If the vendor advisory indicates that mitigations are unavailable for a given deployment, discontinue use of the product until a supported fix can be applied, consistent with the CISA required action.

If you can't patch immediately

Until the vendor update can be deployed, reduce risk with compensating controls that limit both reachability and impact of an authentication bypass leading to code execution.

These measures do not replace the patch; they only buy time while the official update is tested and rolled out.

If your data may have been exposed

Actively exploited vulnerabilities that enable remote code execution, especially those with known ransomware use, frequently lead to credential theft, lateral movement, and data exposure. If your TeamCity Server was reachable and unpatched during the period of known exploitation, assume that build secrets, source-code access tokens, and connected infrastructure may have been compromised. Rotate all credentials stored in or accessible from TeamCity, review recent build and deployment activity for unauthorized changes, and examine systems that received artifacts from the affected server. You can also run a free exposure scan of your email addresses against known breach data sets to determine whether associated accounts appear in public breach collections.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedJetBrains · TeamCity
WeaknessCWE-288
Added to CISA KEVOct 4, 2023
Federal patch deadlineOct 25, 2023
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities