{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2318 exists.","fix":"No fix has been published for CVE-2024-2318 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-2318 is a medium-severity path traversal vulnerability in ZKTeco ZKBio Media, published on 8 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2318 and fix it if it is affected.\n\nWhat it is: CVE-2024-2318 is a medium-severity path traversal vulnerability in ZKTeco ZKBio Media, published on 8 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2318 exists.\n\nAffected product: ZKTeco ZKBio Media. 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-2318/ (Markdown: https://insights.sbomify.com/CVE-2024-2318/index.md)","id":"CVE-2024-2318","markdown":"https://insights.sbomify.com/CVE-2024-2318/index.md","name":"CVE-2024-2318","record":{"aliases":["GHSA-5q32-895v-vf2f"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"ZKTeco ZKBio Media","requires_auth":"low_privilege","summary":"Remote attackers can exploit a path traversal vulnerability in ZKTeco ZKBio Media to read arbitrary files, such as the database, via the download service.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"zkbio_media","vendor":"zkteco"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-24","name":"Path Traversal: '../filedir'"},{"id":"CWE-23","name":"Relative Path Traversal"}],"description":"A vulnerability was found in ZKTeco ZKBio Media 2.0.0_x64_2024-01-29-1028. It has been classified as problematic. Affected is an unknown function of the file /pro/common/download of the component Service Port 9999. The manipulation of the argument fileName with the input ../../../../zkbio_media.sql leads to path traversal: '../filedir'. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.1.3 Build 2025-05-26-1605 is able to address this issue. It is recommended to upgrade the affected component.","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":"ZKTeco ZKBio Media Service Port 9999 download path traversal","id":"CVE-2024-2318","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":0,"n_references":5,"next":{"headline":"Cross-Site Scripting vulnerability in Django MarkdownX","id":"CVE-2024-2319"},"packages":[],"prev":{"headline":"Bdtask Hospital AutoManager Prescription Page improper authorization","id":"CVE-2024-2317"},"products":["ZKBio Media"],"published":"2024-03-08","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-06-10","vendors":["ZKTeco"]},"summary":"Remote attackers can exploit a path traversal vulnerability in ZKTeco ZKBio Media to read arbitrary files, such as the database, via the download service.","url":"https://insights.sbomify.com/CVE-2024-2318/"}