{"id":"MSF-linux--http--dlink_command_php_exec_noauth","name":"D-Link Devices Unauthenticated Remote Command Execution","description":"Various D-Link Routers are vulnerable to OS command injection via the web interface. The vulnerability exists in command.php, which is accessible without authentication. This module has been tested with the versions DIR-600 2.14b01, DIR-300 rev B 2.13.","cves":["CVE-2013-10048"],"author":"Michael Messner, juan vazquez","published":"2013-02-04","platform":"Unix","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb","path":"modules/exploits/linux/http/dlink_command_php_exec_noauth.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"dlink_command_php_exec_noauth.rb","vulnerabilities":[{"id":"CVE-2013-10048","state":"PUBLISHED","title":"D-Link Devices command.php Unauthenticated RCE","titleSource":"CVE Program","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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-10048","cvss":{"version":"4.0","baseScore":9.3,"severity":"critical","vectorString":"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","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2013-10048"},"updatedAt":"2026-05-15T11:14:13.668Z","retrievedAt":"2026-11-26T12:50:55.214Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-linux--http--dlink_command_php_exec_noauth.png?v=2","url":"https://exploitbin.com/exploits/MSF-linux--http--dlink_command_php_exec_noauth","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--dlink_command_php_exec_noauth/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--dlink_command_php_exec_noauth/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}