{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-10048 exists.","fix":"No fix has been published for CVE-2013-10048 yet. Limit exposure of the affected software until one is available.","what":"CVE-2013-10048 is a critical command injection vulnerability in D-Link DIR-300, published on 1 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-10048 and fix it if it is affected.\n\nWhat it is: CVE-2013-10048 is a critical command injection vulnerability in D-Link DIR-300, published on 1 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-10048 exists.\n\nAffected product: D-Link DIR-300. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2013-10048/ (Markdown: https://insights.sbomify.com/CVE-2013-10048/index.md)","id":"CVE-2013-10048","markdown":"https://insights.sbomify.com/CVE-2013-10048/index.md","name":"CVE-2013-10048","record":{"aliases":["GHSA-w7gc-gxjh-pg78"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link router","requires_auth":"none","summary":"Remote attackers can execute arbitrary shell commands with root privileges on legacy D-Link routers via an unauthenticated endpoint, leading to full device takeover.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"dir-300_firmware","vendor":"dlink"},{"product":"dir-600_firmware","vendor":"dlink"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2013-02-04","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2013-02-04","kind":"metasploit","ref":"exploit/linux/http/dlink_command_php_exec_noauth","stars":null,"title":"D-Link Devices Unauthenticated Remote Command Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"D-Link Devices command.php Unauthenticated RCE","id":"CVE-2013-10048","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2013"},"n_packages":0,"n_references":5,"next":{"headline":"Raidsonic NAS Devices Unauthenticated Remote Command Execution","id":"CVE-2013-10049"},"packages":[],"prev":{"headline":"MiniWeb \u003c= Build 300 Arbitrary File Upload","id":"CVE-2013-10047"},"products":["DIR-300","DIR-600"],"published":"2025-08-01","related":[{"cvss_score":5.7,"headline":"D-Link DIR-300 Router Cleartext Storage of a Password","id":"CVE-2011-4723","kev_date_added":"2022-09-08","published":"2011-12-20"},{"cvss_score":10,"headline":"D-Link Devices Unauthenticated RCE","id":"CVE-2013-10069","kev_date_added":null,"published":"2025-08-05"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2023-31814","kev_date_added":null,"published":"2023-05-23"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2013-7471","kev_date_added":null,"published":"2019-06-11"},{"cvss_score":8.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2024-41616","kev_date_added":null,"published":"2024-08-06"},{"cvss_score":8.7,"headline":"D-Link Devices tools_vct.xgi Authenticated RCE","id":"CVE-2013-10050","kev_date_added":null,"published":"2025-08-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-15","vendors":["D-Link"]},"summary":"Remote attackers can execute arbitrary shell commands with root privileges on legacy D-Link routers via an unauthenticated endpoint, leading to full device takeover.","url":"https://insights.sbomify.com/CVE-2013-10048/"}