Description
An OS command injection vulnerability exists in multiple D-Link routers (confirmed on DIR-300 rev A v1.05 and DIR-615 rev D v4.13) via the authenticated tools_vct.xgi CGI endpoint. The web interface fails to properly sanitize user-supplied input in the pingIp parameter, allowing attackers with valid credentials to inject arbitrary shell commands. Exploitation enables full device compromise, including spawning a telnet daemon and establishing a root shell. The vulnerability is present in firmware versions that expose tools_vct.xgi and use the Mathopd/1.5p6 web server. No vendor patch is available, and affected models are end-of-life.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| D-Link | DIR-300 rev A | <= 1.05 |
| D-Link | DIR-615 rev D | <= 4.13 |
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_dir300_exec_telnet.rbExploit
- https://web.archive.org/web/20140830203110/http://www.s3cur1ty.de/m1adv2013-014Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/25024Exploit
- https://www.exploit-db.com/exploits/27428Exploit
- https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce-2Third Party Advisory
- https://www.exploit-db.com/raw/25024Exploit
Timeline
- Published
- Aug 1, 2025
- Last modified
- Jun 16, 2026
- NVD status
- Modified