.. / CVE-2023-42793

Exploit for JetBrains TeamCity < 2023.05.4 - Remote Code Execution (CVE-2023-42793)

Description:

In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible

Proof of Concept

PoC exploit

Nuclei Template

View the template here CVE-2023-42793.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-42793.yaml
Copy

Try the exploit in a lab environment:

Lab Machine Link
Hack The Box Runner Go to Practice

References:

https://attackerkb.com/topics/1XEEEkGHzt/cve-2023-42793
https://www.sonarsource.com/blog/teamcity-vulnerability
https://nvd.nist.gov/vuln/detail/CVE-2023-42793
https://www.jetbrains.com/privacy-security/issues-fixed/
https://attackerkb.com/topics/1XEEEkGHzt/cve-2023-42793/rapid7-analysis