| 标题 | TOTOLINK N350RT V9.3.5u.6466 OS Command Injection |
|---|
| 描述 | The Web backend cstecgi.cgi of the TOTOLINK N350RT contains a hidden endpoint action=telnet that lies outside the login-state check. It enables the device's telnet service and directly yields a root shell without login — equivalent to unauthenticated RCE.
The hidden branch is gated by two "authentication factors", both trivially bypassable:
password — compared against urldecode(nvram_safe_get("telnet_key_custom")). In the emulation, nvram is empty, so an empty string passes; on a real device, etc_ro/custom.conf hard-codes TelnetKey: KL@UHeZ0 (identical across all devices of the same model).
code — compared against getCmdStr("date '+%m%d%Y'"), i.e. the device's current date mmddyyyy (guessable).
Combined: a LAN-side attacker needs no credentials — one HTTP POST enables telnet, then telnet 192.168.0.1 23 yields a root shell directly. |
|---|
| 来源 | ⚠️ https://github.com/nenghun/Hacker/tree/main/N350RT_V9.3.5u.6466_action_telnet_Unauthenticated_RCE_Report |
|---|
| 用户 | mizhou (UID 102593) |
|---|
| 提交 | 2026-11-07 18時05分 (22 日前) |
|---|
| 管理 | 2026-11-29 20時48分 (22 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445248 [TOTOLINK N350RT 9.3.5u.6466/9.3.5u.6468 Web Management Interface cstecgi.cgi action 弱身份验证] |
|---|
| 积分 | 20 |
|---|