{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2020-25506 in the wild since at least 3 Nov 2021.","fix":"No fix has been published for CVE-2020-25506 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 3 May 2022.","what":"CVE-2020-25506 is a critical command injection vulnerability in Dlink Dns-320 Firmware, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-25506 and fix it if it is affected.\n\nWhat it is: CVE-2020-25506 is a critical command injection vulnerability in Dlink Dns-320 Firmware, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2020-25506 in the wild since at least 3 Nov 2021.\n\nAffected product: Dlink Dns-320 Firmware. 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-2020-25506/ (Markdown: https://insights.sbomify.com/CVE-2020-25506/index.md)","id":"CVE-2020-25506","markdown":"https://insights.sbomify.com/CVE-2020-25506/index.md","name":"CVE-2020-25506","record":{"aliases":["GHSA-vfrw-4wr4-4c85"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link NAS","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on D-Link DNS-320 NAS devices via command injection in system_mgr.cgi.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dns-320_firmware","vendor":"dlink"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"D-Link DNS-320 FW v2.06B01 Revision Ax is affected by command injection in the system_mgr.cgi component, which can lead to remote arbitrary code execution.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-25506.yaml","stars":null,"title":"D-Link DNS-320 - Unauthenticated Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"D-Link DNS-320 Device Command Injection","id":"CVE-2020-25506","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Unknown","product":"DNS-320 Device","requiredAction":"Apply updates per vendor instructions.","vendorProject":"D-Link","vulnerabilityName":"D-Link DNS-320 Device Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"dlink:dns-320_firmware","products":["dlink:dns-320_firmware"],"type":"command_injection","year":"2020"},"n_packages":0,"n_references":3,"next":{"headline":"Misconfiguration in n/a","id":"CVE-2020-25507"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2020-25502"},"products":["n/a"],"published":"2021-02-02","related":[{"cvss_score":9.8,"headline":"D-Link DNS-320 Remote Code Execution","id":"CVE-2019-16057","kev_date_added":"2022-04-15","published":"2019-09-16"},{"cvss_score":9.2,"headline":"D-Link DNS-320/DNS-320LW/DNS-325/DNS-340L account_mgr.cgi cgi_user_add os command injection","id":"CVE-2024-10914","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":9.2,"headline":"D-Link DNS-320/DNS-320LW/DNS-325/DNS-340L account_mgr.cgi cgi_user_add os command injection","id":"CVE-2024-10915","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":6.9,"headline":"D-Link DNS-320/DNS-320LW/DNS-325/DNS-340L HTTP GET Request info.xml information disclosure","id":"CVE-2024-10916","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":6.9,"headline":"D-Link DNS-320 Web Management Interface discovery.cgi information disclosure","id":"CVE-2024-8461","kev_date_added":null,"published":"2024-09-05"},{"cvss_score":6.3,"headline":"D-Link DNS-320 Web Management Interface widget_api.cgi information disclosure","id":"CVE-2024-8460","kev_date_added":null,"published":"2024-09-05"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on D-Link DNS-320 NAS devices via command injection in system_mgr.cgi.","url":"https://insights.sbomify.com/CVE-2020-25506/"}