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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-23897 PoC — Jenkins 安全漏洞

来源
关联漏洞
标题: Jenkins 安全漏洞 (CVE-2024-23897)
Description:Jenkins是Jenkins开源的一个应用软件。一个开源自动化服务器Jenkins提供了数百个插件来支持构建,部署和自动化任何项目。 Jenkins 2.441及之前版本、LTS 2.426.2及之前版本存在安全漏洞,该漏洞源于允许未经身份验证的攻击者读取Jenkins控制器文件系统。
Description
Perform with massive Jenkins Reading-2-RCE
介绍
 # CVE-2024-23897: Jenkins Arbitrary File Read Vulnerability Leading to RCE

## Introduction

This repository contains a Python script that exploits a critical vulnerability (CVE-2024-23897) in Jenkins, leading to arbitrary file read and remote code execution (RCE). This vulnerability allows an unauthenticated attacker to execute arbitrary commands on the target Jenkins server, potentially compromising the entire system.

## Prerequisites

Before you can use this exploit, you will need to ensure that you have the following prerequisites installed:

- Python 3 or later
- The `requests` library
- The `argparse` library
- The `colorama` library
- The `concurrent.futures` library

You can install these dependencies using the following commands:

```
pip install requests
pip install argparse
pip install colorama
pip install concurrent.futures
```

## Usage

To use this exploit, simply clone this repository and run the `CVE-2024-23897.py` script. You can specify the following options:

![Screenshot_1](https://github.com/ThatNotEasy/CVE-2024-23897/assets/25004320/ca44ccb5-983a-423d-be81-190aa67e0ce4)

- `-u, --url`: The target Jenkins URL.
- `-f, --filename`: The file containing a list of target URLs or IPs.
- `-t, --threads`: The number of threads to use for concurrent execution.
- `-o, --output`: The output file to save successful responses.
- `-c, --command`: The command to execute on the target system.

For example, to exploit a single target with the URL `http://example.com`, you would run the following command:

```
python CVE-2024-23897.py -u http://example.com
```

To exploit multiple targets from a file called `targets.txt`, you would run the following command:

```
python CVE-2024-23897.py -f targets.txt
```
![Screenshot_2](https://github.com/ThatNotEasy/CVE-2024-23897/assets/25004320/a7029f11-3c87-4689-ab73-5c4d72dd6666)

You can also specify the number of threads to use for concurrent execution using the `-t` option. For example, to use 10 threads, you would run the following command:

```
python CVE-2024-23897.py -t 10
```

If you want to save the successful responses to a file, you can specify the output file using the `-o` option.

References: @h4x0r-dz
文件快照

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

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