{"answers":{"affected":"It affects 25 products.","exploited":"There is no known exploitation of CVE-2017-9315 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2017-9315 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-9315 is a critical authentication bypass vulnerability in Dahua IP Camera and IP PTZ IPC-HFW1XXX, IPC-HDW1XXX, IPC-HDBW1XXX, IPC-HFW2XXX, IPC-HDW2XXX, IPC-HDBW2XXX, IPC-HFW4XXX, IPC-HDW4XXX, IPC-HDBW4XXX, IPC-HF5XXX, IPC-HFW5XXX, IPC-HDW5XXX, IPC-HDBW5XXX, IPC-HF8XXX, IPC-HFW8XXX, IPC-HDBW8XXX, IPC-EBW8XXX, IPC-PFW8xxx, IPC-PDBW8xxx, IPC-HUM8xxx, PSD8xxxx, DH-SD2XXXXX, DH-SD4XXXXX, DH-SD5XXXXX, DH-SD6XXXXX, published on 28 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-9315 and fix it if it is affected.\n\nWhat it is: CVE-2017-9315 is a critical authentication bypass vulnerability in Dahua IP Camera and IP PTZ IPC-HFW1XXX, IPC-HDW1XXX, IPC-HDBW1XXX, IPC-HFW2XXX, IPC-HDW2XXX, IPC-HDBW2XXX, IPC-HFW4XXX, IPC-HDW4XXX, IPC-HDBW4XXX, IPC-HF5XXX, IPC-HFW5XXX, IPC-HDW5XXX, IPC-HDBW5XXX, IPC-HF8XXX, IPC-HFW8XXX, IPC-HDBW8XXX, IPC-EBW8XXX, IPC-PFW8xxx, IPC-PDBW8xxx, IPC-HUM8xxx, PSD8xxxx, DH-SD2XXXXX, DH-SD4XXXXX, DH-SD5XXXXX, DH-SD6XXXXX, published on 28 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-9315 in the wild and no public exploit code.\n\nAffected product: Dahua IP Camera and IP PTZ IPC-HFW1XXX, IPC-HDW1XXX, IPC-HDBW1XXX, IPC-HFW2XXX, IPC-HDW2XXX, IPC-HDBW2XXX, IPC-HFW4XXX, IPC-HDW4XXX, IPC-HDBW4XXX, IPC-HF5XXX, IPC-HFW5XXX, IPC-HDW5XXX, IPC-HDBW5XXX, IPC-HF8XXX, IPC-HFW8XXX, IPC-HDBW8XXX, IPC-EBW8XXX, IPC-PFW8xxx, IPC-PDBW8xxx, IPC-HUM8xxx, PSD8xxxx, DH-SD2XXXXX, DH-SD4XXXXX, DH-SD5XXXXX, DH-SD6XXXXX. 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-2017-9315/ (Markdown: https://insights.sbomify.com/CVE-2017-9315/index.md)","id":"CVE-2017-9315","markdown":"https://insights.sbomify.com/CVE-2017-9315/index.md","name":"CVE-2017-9315","record":{"aliases":["GHSA-hcw2-qh59-gg8h"],"analysis":{"component_type":"iot_embedded","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Dahua IP Camera","requires_auth":"none","summary":"Attackers can compromise the temporary password reset algorithm to gain unauthorized admin access to Dahua IP cameras and PTZ devices.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dahua","cpe":[{"product":"dh-sd2xxxxx_firmware","vendor":"dahuasecurity"},{"product":"dh-sd4xxxxx_firmware","vendor":"dahuasecurity"},{"product":"dh-sd5xxxxx_firmware","vendor":"dahuasecurity"},{"product":"dh-sd6xxxxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-ebw8xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdbw1xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdbw2xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdbw4xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdbw5xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdbw8xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdw1xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdw2xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdw4xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hdw5xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hf5xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hf8xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hfw1xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hfw2xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hfw4xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hfw5xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hfw8xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hum8xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-pdbw8xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-pfw8xxx_firmware","vendor":"dahuasecurity"},{"product":"psd8xxxx_firmware","vendor":"dahuasecurity"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"Customer of Dahua IP camera or IP PTZ could submit relevant device information to receive a time limited temporary password from Dahua authorized dealer to reset the admin password. The algorithm used in this mechanism is potentially at risk of being compromised and subsequently utilized by attacker.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Auth bypass in Dahua IP Camera and IP PTZ IPC-HFW1XXX, IPC-HDW1XXX, IPC-HDBW1XXX, IPC-HFW2XXX, IPC-HDW2XXX, IPC-HDBW2XXX, IPC-HFW4XXX, IPC-HDW4XXX, IPC-HDBW4XXX, IPC-HF5XXX, IPC-HFW5XXX, IPC-HDW5XXX, IPC-HDBW5XXX, IPC-HF8XXX, IPC-HFW8XXX, IPC-HDBW8XXX, IPC-EBW8XXX, IPC-PFW8xxx, IPC-PDBW8xxx, IPC-HUM8xxx, PSD8xxxx, DH-SD2XXXXX, DH-SD4XXXXX, DH-SD5XXXXX, DH-SD6XXXXX","id":"CVE-2017-9315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2017"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in IPC-HDW4300S\\NVR11HS\\IPC-HFW4X00\\IPC-HDW4X00\\IPC-HDBW4X00\\IPC-HF5X00\\IPC-HFW5X00\\IPC-HDW5X00\\IPC-HDBW5X00\\NVR11HS","id":"CVE-2017-9316"},"packages":[],"prev":{"headline":"Auth bypass in NVR50XX, VR52XX, VR54XX, VR58XX","id":"CVE-2017-9314"},"products":["Dahua IP Camera and IP PTZ IPC-HFW1XXX, IPC-HDW1XXX, IPC-HDBW1XXX, IPC-HFW2XXX, IPC-HDW2XXX, IPC-HDBW2XXX, IPC-HFW4XXX, IPC-HDW4XXX, IPC-HDBW4XXX, IPC-HF5XXX, IPC-HFW5XXX, IPC-HDW5XXX, IPC-HDBW5XXX, IPC-HF8XXX, IPC-HFW8XXX, IPC-HDBW8XXX, IPC-EBW8XXX, IPC-PFW8xxx, IPC-PDBW8xxx, IPC-HUM8xxx, PSD8xxxx, DH-SD2XXXXX, DH-SD4XXXXX, DH-SD5XXXXX, DH-SD6XXXXX"],"published":"2017-11-28","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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Dahua Technologies"]},"summary":"Attackers can compromise the temporary password reset algorithm to gain unauthorized admin access to Dahua IP cameras and PTZ devices.","url":"https://insights.sbomify.com/CVE-2017-9315/"}