Submit #1074426: D-Link D-Link DIR-X1860Z Rev A Router Operating System D-Link DIR-X1860Z Rev A 1.0.7.260821.161908 OS command injectioninfo

TitleD-Link D-Link DIR-X1860Z Rev A Router Operating System D-Link DIR-X1860Z Rev A 1.0.7.260821.161908 OS command injection
DescriptionThe `/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.
Source⚠️ https://github.com/jiangnandiyishenqin/D-link-DIR-X1860Z
User
 Luminaa (UID 102745)
Submission11/04/2026 12:51 (24 days ago)
Moderation11/28/2026 16:21 (24 days later)
StatusAccepted
VulDB entry445104 [D-Link DIR-X1860Z 1.0.7.260821.161908 /www/cgi-bin/telnet x os command injection]
Points20

Interested in the pricing of exploits?

See the underground prices here!