{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6931 exists.","fix":"No fix has been published for CVE-2025-6931 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-6931 is a medium-severity vulnerability in D-Link DCS-6517, published on 30 Jun 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-2025-6931 and fix it if it is affected.\n\nWhat it is: CVE-2025-6931 is a medium-severity vulnerability in D-Link DCS-6517, published on 30 Jun 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-2025-6931 exists.\n\nAffected product: D-Link DCS-6517. 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-6931/ (Markdown: https://insights.sbomify.com/CVE-2025-6931/index.md)","id":"CVE-2025-6931","markdown":"https://insights.sbomify.com/CVE-2025-6931/index.md","name":"CVE-2025-6931","record":{"aliases":["GHSA-m79f-7mxr-wccp"],"analysis":{"component_type":"iot_embedded","fix_type":"end_of_life","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"D-Link IP camera","requires_auth":"none","summary":"Remote attackers can predict root passwords due to insufficient entropy in MAC-based generation, leading to unauthorized access on unsupported D-Link cameras.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"dcs-6517_firmware","vendor":"dlink"},{"product":"dcs-7517_firmware","vendor":"dlink"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-331","name":"Insufficient Entropy"},{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"A vulnerability classified as problematic was found in D-Link DCS-6517 and DCS-7517 up to 2.02.0. Affected by this vulnerability is the function generate_pass_from_mac of the file /bin/httpd of the component Root Password Generation Handler. The manipulation leads to insufficient entropy. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. This vulnerability only affects products that are no longer supported by the maintainer.","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 DCS-6517/DCS-7517 Root Password Generation httpd generate_pass_from_mac entropy","id":"CVE-2025-6931","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2025"},"n_packages":0,"n_references":8,"next":{"headline":"D-Link DCS-7517 Qlync Password Generation httpd g_F_n_GenPassForQlync hard-coded password","id":"CVE-2025-6932"},"packages":[],"prev":{"headline":"PHPGurukul Zoo Management System manage-foreigners-ticket.php sql injection","id":"CVE-2025-6930"},"products":["DCS-6517","DCS-7517"],"published":"2025-06-30","related":[],"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-07-01","vendors":["D-Link"]},"summary":"Remote attackers can predict root passwords due to insufficient entropy in MAC-based generation, leading to unauthorized access on unsupported D-Link cameras.","url":"https://insights.sbomify.com/CVE-2025-6931/"}