CVE-2013-10048 PUBLISHED

D-Link Devices command.php Unauthenticated RCE

Assigner: VulnCheck
Reserved: 01.08.2025 Published: 01.08.2025 Updated: 04.08.2025

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.

Metrics

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

Product Status

Vendor D-Link
Product DIR-600
Versions Default: unknown
  • affected from * to 2.14b01 (incl.)
Vendor D-Link
Product DIR-300
Versions Default: unknown
  • affected from * to 2.13 (incl.)

Credits

  • Michael Messner finder

References

Problem Types

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

Impacts

  • CAPEC-88 OS Command Injection