{"answers":{"affected":"It affects 20 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8214 exists.","fix":"No fix has been published for CVE-2024-8214 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-8214 is a medium-severity command injection vulnerability in Dlink Dns-320 Firmware, published on 27 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-8214 and fix it if it is affected.\n\nWhat it is: CVE-2024-8214 is a medium-severity command injection vulnerability in Dlink Dns-320 Firmware, published on 27 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8214 exists.\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-2024-8214/ (Markdown: https://insights.sbomify.com/CVE-2024-8214/index.md)","id":"CVE-2024-8214","markdown":"https://insights.sbomify.com/CVE-2024-8214/index.md","name":"CVE-2024-8214","record":{"aliases":["GHSA-hchh-wrf4-gc5c"],"analysis":{"component_type":"network_device","fix_type":"end_of_life","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link NAS device","requires_auth":"low_privilege","summary":"Remote attackers can execute arbitrary commands on D-Link NAS devices via the hd_config.cgi script, requiring device replacement as support has ended.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"dnr-202l_firmware","vendor":"dlink"},{"product":"dnr-322l_firmware","vendor":"dlink"},{"product":"dnr-326_firmware","vendor":"dlink"},{"product":"dns-1100-4_firmware","vendor":"dlink"},{"product":"dns-1200-05_firmware","vendor":"dlink"},{"product":"dns-120_firmware","vendor":"dlink"},{"product":"dns-1550-04_firmware","vendor":"dlink"},{"product":"dns-315l_firmware","vendor":"dlink"},{"product":"dns-320_firmware","vendor":"dlink"},{"product":"dns-320l_firmware","vendor":"dlink"},{"product":"dns-320lw_firmware","vendor":"dlink"},{"product":"dns-321_firmware","vendor":"dlink"},{"product":"dns-323_firmware","vendor":"dlink"},{"product":"dns-325_firmware","vendor":"dlink"},{"product":"dns-326_firmware","vendor":"dlink"},{"product":"dns-327l_firmware","vendor":"dlink"},{"product":"dns-340l_firmware","vendor":"dlink"},{"product":"dns-343_firmware","vendor":"dlink"},{"product":"dns-345_firmware","vendor":"dlink"},{"product":"dns-726-4_firmware","vendor":"dlink"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"A vulnerability classified as critical was found in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20240814. Affected by this vulnerability is the function cgi_FMT_Std2R5_2nd_DiskMGR of the file /cgi-bin/hd_config.cgi. The manipulation of the argument f_source_dev leads to command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: Vendor was contacted early and confirmed that the product is end-of-life. It should be retired and replaced.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":null,"headline":"D-Link DNS-1550-04 hd_config.cgi cgi_FMT_Std2R5_2nd_DiskMGR command injection","id":"CVE-2024-8214","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"dlink:dns-320_firmware","products":["dlink:dns-320_firmware"],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":6,"next":{"headline":"Payload Injection Attack via Management REST interface","id":"CVE-2024-8215"},"packages":[],"prev":{"headline":"D-Link DNS-1550-04 hd_config.cgi cgi_FMT_R12R5_1st_DiskMGR command injection","id":"CVE-2024-8213"},"products":["DNR-202L","DNR-322L","DNR-326","DNS-1100-4","DNS-120","DNS-1200-05","DNS-1550-04","DNS-315L","DNS-320","DNS-320L","DNS-320LW","DNS-321","DNS-323","DNS-325","DNS-326","DNS-327L","DNS-340L","DNS-343","DNS-345","DNS-726-4"],"published":"2024-08-27","related":[{"cvss_score":9.8,"headline":"D-Link Multiple NAS Devices Use of Hard-Coded Credentials","id":"CVE-2024-3272","kev_date_added":"2024-04-11","published":"2024-04-04"},{"cvss_score":7.3,"headline":"D-Link Multiple NAS Devices Command Injection","id":"CVE-2024-3273","kev_date_added":"2024-04-11","published":"2024-04-04"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 app_mgr.cgi UPnP_AV_Server_Path_Del stack-based overflow","id":"CVE-2026-5211","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 webdav_mgr.cgi Webdav_Upload_File stack-based overflow","id":"CVE-2026-5212","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 account_mgr.cgi cgi_adduser_to_session stack-based overflow","id":"CVE-2026-5213","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 account_mgr.cgi cgi_addgroup_get_group_quota_minsize stack-based overflow","id":"CVE-2026-5214","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"D-Link DNS-1550-04 local_backup_mgr.cgi Local_Backup_Info stack-based overflow","id":"CVE-2026-4211","kev_date_added":null,"published":"2026-03-16"}],"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)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-27","vendors":["D-Link"]},"summary":"Remote attackers can execute arbitrary commands on D-Link NAS devices via the hd_config.cgi script, requiring device replacement as support has ended.","url":"https://insights.sbomify.com/CVE-2024-8214/"}