{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-6787 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-6787 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6787 is a medium-severity vulnerability in Moxa MXview One Series, published on 21 Sep 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-6787 and fix it if it is affected.\n\nWhat it is: CVE-2024-6787 is a medium-severity vulnerability in Moxa MXview One Series, published on 21 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-6787 in the wild and no public exploit code.\n\nAffected product: Moxa MXview One Series. 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-6787/ (Markdown: https://insights.sbomify.com/CVE-2024-6787/index.md)","id":"CVE-2024-6787","markdown":"https://insights.sbomify.com/CVE-2024-6787/index.md","name":"CVE-2024-6787","record":{"aliases":["GHSA-rchh-4f4f-rp53"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MXview One Series","requires_auth":"low_privilege","summary":"An attacker can exploit a race condition to write arbitrary files, leading to malicious code execution and data loss in MXview One Series.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Moxa","cpe":[{"product":"mxview_one","vendor":"moxa"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"This vulnerability occurs when an attacker exploits a race condition between the time a file is checked and the time it is used (TOCTOU). By exploiting this race condition, an attacker can write arbitrary files to the system. This could allow the attacker to execute malicious code and potentially cause file losses.","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":"MXview One Series vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition","id":"CVE-2024-6787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Phoenix Contact: update feature from CHARX controller can be used to reset a low privilege user password","id":"CVE-2024-6788"},"packages":[],"prev":{"headline":"MXview One Series vulnerable to Path Traversal","id":"CVE-2024-6786"},"products":["MXview One Series"],"published":"2024-09-21","related":[{"cvss_score":6.8,"headline":"MXview One and MXview One Central Manager Series store cleartext credentials in a local file","id":"CVE-2024-6785","kev_date_added":null,"published":"2024-09-21"},{"cvss_score":6,"headline":"MXview One Series vulnerable to Path Traversal","id":"CVE-2024-6786","kev_date_added":null,"published":"2024-09-21"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-26","vendors":["Moxa"]},"summary":"An attacker can exploit a race condition to write arbitrary files, leading to malicious code execution and data loss in MXview One Series.","url":"https://insights.sbomify.com/CVE-2024-6787/"}