CVE-2013-10048

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:dlink:dir-300_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-300:-:*:*:*:*:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:o:dlink:dir-600_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-600:-:*:*:*:*:*:*:*

History

23 Sep 2025, 17:41

Type Values Removed Values Added
References () https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb - () https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb - Exploit
References () https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003 - () https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003 - Exploit, Third Party Advisory
References () https://www.exploit-db.com/exploits/24453 - () https://www.exploit-db.com/exploits/24453 - Exploit
References () https://www.exploit-db.com/exploits/27528 - () https://www.exploit-db.com/exploits/27528 - Exploit
References () https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce - () https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Dlink dir-600
Dlink
Dlink dir-600 Firmware
Dlink dir-300 Firmware
Dlink dir-300
CPE cpe:2.3:o:dlink:dir-600_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-600:-:*:*:*:*:*:*:*
cpe:2.3:o:dlink:dir-300_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dir-300:-:*:*:*:*:*:*:*

04 Aug 2025, 15:15

Type Values Removed Values Added
References () https://www.exploit-db.com/exploits/27528 - () https://www.exploit-db.com/exploits/27528 -

04 Aug 2025, 15:06

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de inyección de comandos del sistema operativo en varios routers D-Link antiguos, incluyendo el DIR-300 rev B y el DIR-600 (firmware ? 2.13 y ? 2.14b01, respectivamente), debido a un manejo incorrecto de la entrada en el endpoint command.php no autenticado. Mediante el envío de solicitudes POST especialmente manipuladas, un atacante remoto puede ejecutar comandos de shell arbitrarios con privilegios de root, lo que permite el control total del dispositivo. Esto incluye el lanzamiento de servicios como Telnet, la exfiltración de credenciales, la modificación de la configuración del sistema y la interrupción de la disponibilidad. La falla se debe a la falta de autenticación y a la depuración inadecuada del parámetro cmd.

01 Aug 2025, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-01 21:15

Updated : 2025-09-23 17:41


NVD link : CVE-2013-10048

Mitre link : CVE-2013-10048

CVE.ORG link : CVE-2013-10048


JSON object : View

Products Affected

dlink

  • dir-600_firmware
  • dir-300_firmware
  • dir-600
  • dir-300
CWE
CWE-78

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