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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-25600 PoC — WordPress Plugin Bricks Builder Theme 安全漏洞

来源
关联漏洞
标题: WordPress Plugin Bricks Builder Theme 安全漏洞 (CVE-2024-25600)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress Plugin Bricks Builder Theme 1.9.6版本存在安全漏洞,该漏洞源于允许攻击者通过利用随机数泄漏来绕过身份验证来执行任意 PHP 代码。
Description
Repository for internship test task. 
介绍
# test-task-CVE-2024-25600
Repository for internship test-task. 

### Step 0: Clone this git repo
```
git clone https://github.com/Sibul-Dan-Glokta/test-task-CVE-2024-25600
```

### Step 1: Create docker containers

#### Start Docker daemon

```
sudo systemctl start docker.service
```

#### Start Docker Containers
To start the docker container navigate to the wp_container directory
```
cd path/to/wp_container
```
Start the docker containers
```
sudo docker compose up -d
```

#### (optional) Check if the wordpress page started
The WP site may take roughly 30 seconds to get working properly. To validate if the WP page started issue the following command:
```
curl http://127.0.0.1:8080
```
The output should display HTML code. and no errors


### Step 2: Exploit the website
#### (If necessary) create a python virtual environment
```
python -m venv /path/to/new/virtual/environment
```

#### Install the necessary dependencies
To install the necessary dependencies navigate to the exploit directory and run the following command:
```
path/to/new/virtual/environment/bin/pip install -r requirements.txt
```

#### Run the exploit
While in the exploit directory to run the exploit issue the following command:
```
path/to/new/virtual/environment/bin/python3 exploit.py -u http://127.0.0.1:8080

```
This will crant you access to the server shell as www-data. And you will have access to /etc/passwd.
Output from exploit script and whoami
![alt text](image.png)
文件快照

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

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