Home

Description

An OS command injection vulnerability exists in various legacy D-Link routers—including DIR-300 rev B and DIR-600 (firmware ≤ 2.13 and ≤ 2.14b01, respectively)—due to improper input handling in the unauthenticated command.php endpoint. By sending specially crafted POST requests, a remote attacker can execute arbitrary shell commands with root privileges, allowing full takeover of the device. This includes launching services such as Telnet, exfiltrating credentials, modifying system configuration, and disrupting availability. The flaw stems from the lack of authentication and inadequate sanitation of the cmd parameter.

PUBLISHED Reserved 2025-08-01 | Published 2025-08-01 | Updated 2026-05-15 | Assigner VulnCheck




CRITICAL: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

Default status
unknown

Any version
affected

Default status
unknown

Any version
affected

Credits

Michael Messner finder

References

www.exploit-db.com/exploits/27528 exploit

raw.githubusercontent.com/...link_command_php_exec_noauth.rb exploit

www.exploit-db.com/exploits/24453 exploit

www.exploit-db.com/exploits/27528 exploit

web.archive.org/...1648/http://www.s3cur1ty.de/m1adv2013-003 technical-description exploit

www.vulncheck.com/advisories/d-link-legacy-unauth-rce third-party-advisory

cve.org (CVE-2013-10048)

nvd.nist.gov (CVE-2013-10048)

Download JSON