Skip to content
OpenAdvisories
Critical · 9.3 Public exploit CVE-2013-10048 EUVD-2013-7272GHSA-w7gc-gxjh-pg78

D-Link Devices command.php Unauthenticated RCE

Published Aug 1, 2025 · Updated May 15, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
D-Link DIR-600 ≤ 2.14b01 —
D-Link DIR-300 ≤ 2.13 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References