关联漏洞
标题:
JetBrains TeamCity 安全漏洞
(CVE-2023-42793)
描述: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.
文件快照
[4.0K] /data/pocs/f34e11e7db9e3ea7d742591d29d1c5c2ae9622c8
├── [4.2K] CVE_2023_42793.py
└── [1.4K] README.md
0 directories, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。