{"schemaVersion":3,"id":"CVE-2013-10048","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-08-01T20:39:20.417Z","modified":"2026-05-15T11:14:13.668Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.17052,"percentile":0.97056,"severity":"medium","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":4.953,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.12099},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.17052,"percentile":0.97056}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.12099,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.17052,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.17052,"percentile":0.97056}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"24453","name":"D-Link DIR-600 / DIR-300 (Rev B) - Multiple Vulnerabilities","source":"exploit-database","url":"https://www.exploit-db.com/exploits/24453","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["hardware"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"hardware","file":"exploits/hardware/webapps/24453.txt","codes":["OSVDB-89864","OSVDB-89863","OSVDB-89862","OSVDB-89861","OSVDB-89860","OSVDB-89859"]},"metasploit":null},{"id":"27528","name":"D-Link Devices - 'command.php' Remote Command Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/27528","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["hardware"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"hardware","file":"exploits/hardware/remote/27528.rb","codes":["OSVDB-89861"]},"metasploit":null},{"id":"REF_38868C050F76C471","name":"Exploit Reference (raw.githubusercontent.com)","source":"reference","url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_E8B9605B40291212","name":"Exploit Reference (web.archive.org)","source":"reference","url":"https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_DLINK_COMMAND_PHP_EXEC_NOAUTH","name":"D-Link Devices Unauthenticated Remote Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/dlink_command_php_exec_noauth.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/dlink_command_php_exec_noauth","rank":"600","rankName":"excellent","postAuth":false,"check":false,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":5,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"d-link","product":"dir-300","name":"DIR-300","label":"dir-300","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.13","eol":null,"hubHref":"/vendor/d-link/dir-300"},{"vendor":"d-link","product":"dir-600","name":"DIR-600","label":"dir-600","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.14b01","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.14b01","eol":null,"hubHref":"/vendor/d-link/dir-600"},{"vendor":"dlink","product":"dir-300_firmware","name":"dir-300 firmware","label":"dir-300_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.13","eol":null,"hubHref":"/vendor/dlink/dir-300"},{"vendor":"dlink","product":"dir-600_firmware","name":"dir-600 firmware","label":"dir-600_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 2.14b01","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.14b01","eol":null,"hubHref":"/vendor/dlink/dir-600"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/dlink_command_php_exec_noauth.rb","label":"raw.githubusercontent.com/rapid7/…","hostname":"raw.githubusercontent.com","tags":["Exploit"]},{"url":"https://www.exploit-db.com/exploits/24453","label":"www.exploit-db.com/exploits/24453","hostname":"www.exploit-db.com","tags":["Exploit"]},{"url":"https://www.exploit-db.com/exploits/27528","label":"www.exploit-db.com/exploits/27528","hostname":"www.exploit-db.com","tags":["Exploit"]},{"url":"https://web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003","label":"web.archive.org/web/20131022221648/http://www.s3cur1ty.de/m1adv2013-003","hostname":"web.archive.org","tags":["Technical Description","Exploit","Third Party Advisory"]},{"url":"https://www.vulncheck.com/advisories/d-link-legacy-unauth-rce","label":"www.vulncheck.com/advisories/d-link-legacy-unauth-rce","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-01T20:39:20.417Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-15T11:14:13.668Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:39:30.935Z","stale":false,"partial":false}}