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

Goal: 1000 CNY · Raised: 1359 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
Readme

# CVE-2023-42793 Exploit Script

## Overview

This script is designed to automate the exploitation process for the CVE-2023-42793 vulnerability. It targets a specific service (presumably affected by this vulnerability) and attempts to delete a user token, create a new user token, and then create a new user with administrative privileges.

## Requirements

- Python 3
- Libraries: `requests`, `random`, `argparse`, `xml.etree.ElementTree`

## Installation

1. Ensure Python 3 is installed on your system.
2. Install the required Python libraries:
   ```
   pip install requests
   ```

## Usage

The script can be executed against either a single URL or a list of URLs.

1. **Single URL Mode**:
   ```
   python script_name.py -u <URL of the TeamCity>
   ```
   
2. **List Mode**:
   ```
   python script_name.py -l <file containing list of URLs>
   ```

## Features

- **Automated Exploitation**: Automates the CVE-2023-42793 exploit process.
- **Flexible Targeting**: Can target a single URL or multiple URLs from a list.
- **Logging**: Successful exploits are logged in `vulnerable.txt`.

## Caution

- This script is intended for educational and ethical testing purposes only.
- Use it responsibly and only on systems for which you have explicit permission to test.

## Contributing

Contributions to enhance the script or its documentation are welcome. Please adhere to standard coding practices and ensure that all submissions are thoroughly tested.

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 →