{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2019-16057 in the wild since at least 15 Apr 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2019-16057 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 6 May 2022.","what":"CVE-2019-16057 is a critical command injection vulnerability in Dlink Dns-320 Firmware, published on 16 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-16057 and fix it if it is affected.\n\nWhat it is: CVE-2019-16057 is a critical command injection vulnerability in Dlink Dns-320 Firmware, published on 16 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2019-16057 in the wild since at least 15 Apr 2022, including in ransomware campaigns.\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-2019-16057/ (Markdown: https://insights.sbomify.com/CVE-2019-16057/index.md)","id":"CVE-2019-16057","markdown":"https://insights.sbomify.com/CVE-2019-16057/index.md","name":"CVE-2019-16057","record":{"aliases":["GHSA-q867-77vc-2rp5"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link NAS","requires_auth":"none","summary":"Remote attackers can execute arbitrary commands on D-Link DNS-320 NAS devices via the login_mgr.cgi script.","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":"The login_mgr.cgi script in D-Link DNS-320 through 2.05.B10 is vulnerable to remote command injection.","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/2019/CVE-2019-16057.yaml","stars":null,"title":"D-Link DNS-320 - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"D-Link DNS-320 Remote Code Execution","id":"CVE-2019-16057","indexable":true,"kev":{"dateAdded":"2022-04-15","dueDate":"2022-05-06","knownRansomwareCampaignUse":"Known","product":"DNS-320 Storage Device","requiredAction":"The impacted product is end-of-life and should be disconnected if still in use.","vendorProject":"D-Link","vulnerabilityName":"D-Link DNS-320 Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"dlink:dns-320_firmware","products":["dlink:dns-320_firmware"],"type":"command_injection","year":"2019"},"n_packages":0,"n_references":2,"next":{"headline":"Memory corruption in n/a","id":"CVE-2019-16058"},"packages":[],"prev":{"headline":"Other in n/a","id":"CVE-2019-16056"},"products":["n/a"],"published":"2019-09-16","related":[{"cvss_score":9.8,"headline":"D-Link DNS-320 Device Command Injection","id":"CVE-2020-25506","kev_date_added":"2021-11-03","published":"2021-02-02"},{"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 commands on D-Link DNS-320 NAS devices via the login_mgr.cgi script.","url":"https://insights.sbomify.com/CVE-2019-16057/"}