OS Command Injection Vulnerability in D-Link Legacy Routers
CVE-2013-10048

9.3CRITICAL

Key Information:

Vendor

D-link

Vendor
CVE Published:
1 August 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2013-10048?

An OS command injection vulnerability exists in various legacy D-Link routers due to improper input handling in the unauthenticated command.php endpoint. This flaw allows remote attackers to send crafted POST requests that execute arbitrary shell commands with root privileges. Consequently, an attacker can take full control of the device, potentially launching services such as Telnet, exfiltrating sensitive credentials, altering the system configuration, and disrupting device availability. The root cause of this vulnerability lies in the lack of authentication checks and inadequate sanitation of the cmd parameter, making these routers susceptible to exploitation.

Affected Version(s)

DIR-300 * <= 2.13

DIR-600 * <= 2.14b01

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Michael Messner
.
CVE-2013-10048 : OS Command Injection Vulnerability in D-Link Legacy Routers