{"answers":{"affected":"It affects 20 products.","exploited":"There is no known exploitation of CVE-2020-9502 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-9502 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-9502 is a critical authentication bypass vulnerability in IPC-HX2XXX Series,IPC-HXXX5X4X Series,IPC-HX5842H,IPC-HX7842H,NVR 5x Series,NVR 4x Series,SD6AL Series,SD5A Series,SD1A Series,PTZ1A Series,SD50/52C Series,IPC-HFW1431S, published on 13 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-9502 and fix it if it is affected.\n\nWhat it is: CVE-2020-9502 is a critical authentication bypass vulnerability in IPC-HX2XXX Series,IPC-HXXX5X4X Series,IPC-HX5842H,IPC-HX7842H,NVR 5x Series,NVR 4x Series,SD6AL Series,SD5A Series,SD1A Series,PTZ1A Series,SD50/52C Series,IPC-HFW1431S, published on 13 May 2020. 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-2020-9502 in the wild and no public exploit code.\n\nAffected product: IPC-HX2XXX Series,IPC-HXXX5X4X Series,IPC-HX5842H,IPC-HX7842H,NVR 5x Series,NVR 4x Series,SD6AL Series,SD5A Series,SD1A Series,PTZ1A Series,SD50/52C Series,IPC-HFW1431S. 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-2020-9502/ (Markdown: https://insights.sbomify.com/CVE-2020-9502/index.md)","id":"CVE-2020-9502","markdown":"https://insights.sbomify.com/CVE-2020-9502/index.md","name":"CVE-2020-9502","record":{"aliases":["GHSA-rqmc-r2j8-rwq3"],"analysis":{"component_type":"iot_embedded","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Dahua IP cameras","requires_auth":"none","summary":"Attackers can predict session IDs to hijack user sessions on Dahua IP cameras and NVRs, gaining unauthorized access to the devices.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dahua","cpe":[{"product":"ipc-hdbw1320e-w_firmware","vendor":"dahuasecurity"},{"product":"ipc-hx2xxx_firmware","vendor":"dahuasecurity"},{"product":"ipc-hx5842h_firmware","vendor":"dahuasecurity"},{"product":"ipc-hx7842h_firmware","vendor":"dahuasecurity"},{"product":"ipc-hxxx5x4x_firmware","vendor":"dahuasecurity"},{"product":"n42b1p_firmware","vendor":"dahuasecurity"},{"product":"n42b2p_firmware","vendor":"dahuasecurity"},{"product":"n42b3p_firmware","vendor":"dahuasecurity"},{"product":"n52a4p_firmware","vendor":"dahuasecurity"},{"product":"n52b2p_firmware","vendor":"dahuasecurity"},{"product":"n52b3p_firmware","vendor":"dahuasecurity"},{"product":"n52b5p_firmware","vendor":"dahuasecurity"},{"product":"n54a4p_firmware","vendor":"dahuasecurity"},{"product":"n54b2p_firmware","vendor":"dahuasecurity"},{"product":"ptz1a_firmware","vendor":"dahuasecurity"},{"product":"sd1a_firmware","vendor":"dahuasecurity"},{"product":"sd50_firmware","vendor":"dahuasecurity"},{"product":"sd52c_firmware","vendor":"dahuasecurity"},{"product":"sd5a_firmware","vendor":"dahuasecurity"},{"product":"sd6al_firmware","vendor":"dahuasecurity"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","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-330","name":"Use of Insufficiently Random Values"}],"description":"Some Dahua products with Build time before December 2019 have Session ID predictable vulnerabilities. During normal user access, an attacker can use the predicted Session ID to construct a data packet to attack the device.","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 IPC-HX2XXX Series,IPC-HXXX5X4X Series,IPC-HX5842H,IPC-HX7842H,NVR 5x Series,NVR 4x Series,SD6AL Series,SD5A Series,SD1A Series,PTZ1A Series,SD50/52C Series,IPC-HFW1431S","id":"CVE-2020-9502","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in n/a","id":"CVE-2020-9514"},"packages":[],"prev":{"headline":"Information disclosure in Web P2P control,P2P plartform server,client tools","id":"CVE-2020-9501"},"products":["IPC-HX2XXX Series,IPC-HXXX5X4X Series,IPC-HX5842H,IPC-HX7842H,NVR 5x Series,NVR 4x Series,SD6AL Series,SD5A Series,SD1A Series,PTZ1A Series,SD50/52C Series,IPC-HFW1431S"],"published":"2020-05-13","related":[{"cvss_score":8.1,"headline":"Weak cryptography in IPC-HX2XXX Series,IPC-HXXX5X4X Series,IPC-HX5842H,IPC-HX7842H,NVR 5x Series,NVR 4x Series,SD6AL Series,SD5A Series,SD1A Series,PTZ1A Series,SD50/52C Series,IPC-HDBW1320E-W","id":"CVE-2019-9682","kev_date_added":null,"published":"2020-05-13"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can predict session IDs to hijack user sessions on Dahua IP cameras and NVRs, gaining unauthorized access to the devices.","url":"https://insights.sbomify.com/CVE-2020-9502/"}