提交 #1074363: D-Link D-Link R95 A1 Router Operating System 1.04.04Beta OS command injection信息

标题D-Link D-Link R95 A1 Router Operating System 1.04.04Beta OS command injection
描述The `SetQoSHostInfo` SOAP handler extracts `Hostname`, inserts it into a single-quoted UCI shell command with `sprintf`, and calls `system()` without escaping the value. The vulnerable command fragment is: ```text uci ... set qosinfo.@qosinfo[-1].Hostname='%s' > /dev/null ``` A hostname such as `x';id;#` closes the single-quoted value, executes `id`, and comments out the remaining quote and redirection. The payload fits within the 31-byte hostname limit. The action is reachable without authentication because DHMAPI exempts an outer `API-ACTION: GetDeviceSettings` request from `API-CONTENT` validation while independently dispatching the inner XML action. A `SOAPAction` header satisfies an earlier request gate; no cookie or `API-CONTENT` value is required.
来源⚠️ https://github.com/jiangnandiyishenqin/D-link-R95A1
用户
 Lumina (UID 101162)
提交2026-11-04 11時49分 (24 日前)
管理2026-11-28 08時47分 (24 days later)
状态已接受
VulDB条目445094 [D-Link R95 1.04B04Beta DHMAPI SOAP Interface /bin/ssi SetQoSHostInfo Hostname 权限提升]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!