{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2717 exists.","fix":"No fix has been published for CVE-2025-2717 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-2717 is a medium-severity command injection vulnerability in D-Link DIR-823X, published on 24 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-2717 and fix it if it is affected.\n\nWhat it is: CVE-2025-2717 is a medium-severity command injection vulnerability in D-Link DIR-823X, published on 24 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2717 exists.\n\nAffected product: D-Link DIR-823X. 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-2025-2717/ (Markdown: https://insights.sbomify.com/CVE-2025-2717/index.md)","id":"CVE-2025-2717","markdown":"https://insights.sbomify.com/CVE-2025-2717/index.md","name":"CVE-2025-2717","record":{"aliases":["GHSA-w27p-m7fr-3hpc"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link router","requires_auth":"high_privilege","summary":"Remote attackers can execute arbitrary OS commands on D-Link DIR-823X routers via the diag_nslookup handler.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"dir-823x_firmware","vendor":"dlink"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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, which was classified as critical, has been found in D-Link DIR-823X 240126/240802. This issue affects the function sub_41710C of the file /goform/diag_nslookup of the component HTTP POST Request Handler. The manipulation of the argument target_addr leads to os command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.","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 DIR-823X HTTP POST Request diag_nslookup sub_41710C os command injection","id":"CVE-2025-2717","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.","id":"CVE-2025-2718"},"packages":[],"prev":{"headline":"China Mobile P22g-CIac Samba Path path traversal","id":"CVE-2025-2716"},"products":["DIR-823X"],"published":"2025-03-24","related":[{"cvss_score":7.2,"headline":"D-Link DIR-823X Command Injection","id":"CVE-2025-29635","kev_date_added":"2026-04-24","published":"2025-03-25"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-29040","kev_date_added":null,"published":"2025-04-17"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-29041","kev_date_added":null,"published":"2025-04-17"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-29042","kev_date_added":null,"published":"2025-04-17"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2025-29043","kev_date_added":null,"published":"2025-04-17"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2024-39962","kev_date_added":null,"published":"2024-07-19"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2025-55848","kev_date_added":null,"published":"2025-09-26"}],"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":"2025-03-25","vendors":["D-Link"]},"summary":"Remote attackers can execute arbitrary OS commands on D-Link DIR-823X routers via the diag_nslookup handler.","url":"https://insights.sbomify.com/CVE-2025-2717/"}