{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-7731 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-7731 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-7731 is a critical SQL injection vulnerability in SECOM Dr.ID Access control  system, published on 14 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-7731 and fix it if it is affected.\n\nWhat it is: CVE-2024-7731 is a critical SQL injection vulnerability in SECOM Dr.ID Access control  system, published on 14 Aug 2024. 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-2024-7731 in the wild and no public exploit code.\n\nAffected product: SECOM Dr.ID Access control  system. 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-2024-7731/ (Markdown: https://insights.sbomify.com/CVE-2024-7731/index.md)","id":"CVE-2024-7731","markdown":"https://insights.sbomify.com/CVE-2024-7731/index.md","name":"CVE-2024-7731","record":{"aliases":["GHSA-24q9-34wm-r8c7"],"analysis":{"component_type":"iot_embedded","fix_type":"no_fix_stated","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Access control system","requires_auth":"none","summary":"Unauthenticated attackers can inject SQL commands to read, modify, and delete database contents in SECOM Dr.ID Access Control System.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"twcert","cpe":[{"product":"dr.id_access_control","vendor":"secom"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","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-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Dr.ID Access Control System from SECOM does not properly validate a specific page parameter, allowing unauthenticated remote attackers to inject SQL commands to read, modify, and delete database contents.","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":"SECOM Dr.ID Access control system - SQL injection","id":"CVE-2024-7731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"SECOM Dr.ID Attendance system - Unrestricted File Upload","id":"CVE-2024-7732"},"packages":[],"prev":{"headline":"Qemu-kvm: virtio-snd: heap buffer overflow in virtio_snd_pcm_in_cb()","id":"CVE-2024-7730"},"products":["Dr.ID Access control  system"],"published":"2024-08-14","related":[{"cvss_score":9.8,"headline":"TAIWAN SECOM CO., LTD., Door Access Control and Personnel Attendance Management system - Use of Hard-coded Credentials","id":"CVE-2021-35961","kev_date_added":null,"published":"2021-07-16"},{"cvss_score":9.8,"headline":"TAIWAN SECOM CO., LTD. - Pre-auth SQL Injection","id":"CVE-2020-3934","kev_date_added":null,"published":"2020-02-11"},{"cvss_score":7.5,"headline":"TAIWAN SECOM CO., LTD. – Sensitivity Information Exposure","id":"CVE-2020-3935","kev_date_added":null,"published":"2020-02-11"},{"cvss_score":7.3,"headline":"TAIWAN SECOM CO., LTD., a xDoor Access Control and Personnel Attendance Management system - Hard-coded Credentials","id":"CVE-2022-26671","kev_date_added":null,"published":"2022-04-07"},{"cvss_score":5.3,"headline":"TAIWAN SECOM CO., LTD. - User Account Enumeration","id":"CVE-2020-3933","kev_date_added":null,"published":"2020-02-11"}],"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-14","vendors":["SECOM"]},"summary":"Unauthenticated attackers can inject SQL commands to read, modify, and delete database contents in SECOM Dr.ID Access Control System.","url":"https://insights.sbomify.com/CVE-2024-7731/"}