目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

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

来源
关联漏洞
标题: JetBrains TeamCity 安全漏洞 (CVE-2023-42793)
Description:JetBrains TeamCity是捷克JetBrains公司的一套分布式构建管理和持续集成工具。该工具提供持续单元测试、代码质量分析和构建问题分析报告等功能。 JetBrains TeamCity 2023.05.4之前版本存在安全漏洞,该漏洞源于攻击者可以绕过身份验证,导致在 TeamCity 服务器上执行RCE 。
介绍

# 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.

文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →