{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-3223 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2017-3223 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-3223 is a critical memory corruption vulnerability in Dahua IP Camera, published on 24 Jul 2018. 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-3223 and fix it if it is affected.\n\nWhat it is: CVE-2017-3223 is a critical memory corruption vulnerability in Dahua IP Camera, published on 24 Jul 2018. 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-3223 in the wild and no public exploit code.\n\nAffected product: Dahua IP Camera. 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-3223/ (Markdown: https://insights.sbomify.com/CVE-2017-3223/index.md)","id":"CVE-2017-3223","markdown":"https://insights.sbomify.com/CVE-2017-3223/index.md","name":"CVE-2017-3223","record":{"aliases":["GHSA-4vg2-f4g9-pc4r"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Dahua IP camera","requires_auth":"none","summary":"Remote unauthenticated attackers can trigger a stack buffer overflow in the Sonia web interface via a crafted POST request, leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"certcc","cpe":[{"product":"ip_camera_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":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"Dahua IP camera products using firmware versions prior to V2.400.0000.14.R.20170713 include a version of the Sonia web interface that may be vulnerable to a stack buffer overflow. Dahua IP camera products include an application known as Sonia (/usr/bin/sonia) that provides the web interface and other services for controlling the IP camera remotely. Versions of Sonia included in firmware versions prior to DH_IPC-Consumer-Zi-Themis_Eng_P_V2.408.0000.11.R.20170621 do not validate input data length for the 'password' field of the web interface. A remote, unauthenticated attacker may submit a crafted POST request to the IP camera's Sonia web interface that may lead to out-of-bounds memory operations and loss of availability or remote code execution. The issue was originally identified by the researcher in firmware version DH_IPC-HX1X2X-Themis_EngSpnFrn_N_V2.400.0000.30.R.20160803.","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":"Memory corruption in IP Camera","id":"CVE-2017-3223","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2017"},"n_packages":0,"n_references":2,"next":{"headline":"Denial of service in Protocol","id":"CVE-2017-3224"},"packages":[],"prev":{"headline":"Hardcoded credentials in AmosConnect","id":"CVE-2017-3222"},"products":["IP Camera"],"published":"2018-07-24","related":[{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2017-7253","kev_date_added":null,"published":"2017-03-30"}],"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-05","vendors":["Dahua"]},"summary":"Remote unauthenticated attackers can trigger a stack buffer overflow in the Sonia web interface via a crafted POST request, leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2017-3223/"}