module

JetBrains TeamCity Unauthenticated Remote Code Execution

Disclosed
2023-09-19
Created
2023-09-28

Description

This module exploits an authentication bypass vulnerability to achieve unauthenticated remote code execution
against a vulnerable JetBrains TeamCity server. All versions of TeamCity prior to version 2023.05.4 are
vulnerable to this issue. The vulnerability was originally discovered by SonarSource.

Author

sfewer-r7

Platform

Linux,Windows

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/multi/http/jetbrains_teamcity_rce_cve_2023_42793
msf exploit(jetbrains_teamcity_rce_cve_2023_42793) > show targets
...targets...
msf exploit(jetbrains_teamcity_rce_cve_2023_42793) > set TARGET < target-id >
msf exploit(jetbrains_teamcity_rce_cve_2023_42793) > show options
...show and set options...
msf exploit(jetbrains_teamcity_rce_cve_2023_42793) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.