| 标题 | D-Link D-Link DIR-X1860Z Rev A Router Operating System D-Link DIR-X1860Z Rev A 1.0.7.260821.161908 OS command injection |
|---|
| 描述 | The `/cgi-bin/telnet` shell script parses the first query-string parameter into attacker-controlled `key` and `val` variables and passes them to `eval`. Its URL-decoding statement is commented out, and the script performs no session or permission check. A single quote in the parameter value terminates the intended quoted assignment and appends arbitrary shell commands.
The injected command executes before the script attempts to change the Telnet configuration. Consequently, command execution does not depend on whether the Telnet service starts successfully. The script's later `Failed to close telnet!` output does not indicate that the injected command failed. |
|---|
| 来源 | ⚠️ https://github.com/jiangnandiyishenqin/D-link-DIR-X1860Z |
|---|
| 用户 | Luminaa (UID 102745) |
|---|
| 提交 | 2026-11-04 12時51分 (24 日前) |
|---|
| 管理 | 2026-11-28 16時21分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445104 [D-Link DIR-X1860Z 1.0.7.260821.161908 /www/cgi-bin/telnet x 权限提升] |
|---|
| 积分 | 20 |
|---|