{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-40731 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-40731 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-40731 is a medium-severity vulnerability in Siemens QMS Automotive, published on 12 Sep 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-40731 and fix it if it is affected.\n\nWhat it is: CVE-2023-40731 is a medium-severity vulnerability in Siemens QMS Automotive, published on 12 Sep 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-40731 in the wild and no public exploit code.\n\nAffected product: Siemens QMS Automotive. 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-2023-40731/ (Markdown: https://insights.sbomify.com/CVE-2023-40731/index.md)","id":"CVE-2023-40731","markdown":"https://insights.sbomify.com/CVE-2023-40731/index.md","name":"CVE-2023-40731","record":{"aliases":["GHSA-x95r-7f45-c9ff"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Siemens QMS Automotive","requires_auth":"low_privilege","summary":"An attacker can upload malicious files to Siemens QMS Automotive, potentially leading to code tampering and execution.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"siemens","cpe":[{"product":"qms_automotive","vendor":"siemens"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N/E:P/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"A vulnerability has been identified in QMS Automotive (All versions \u003c V12.39). The affected application allows users to upload arbitrary file types. This could allow an attacker to upload malicious files, that could potentially lead to code tampering.","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":"File upload in QMS Automotive","id":"CVE-2023-40731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Auth bypass in QMS Automotive","id":"CVE-2023-40732"},"packages":[],"prev":{"headline":"Missing authorization in QMS Automotive","id":"CVE-2023-40730"},"products":["QMS Automotive"],"published":"2023-09-12","related":[{"cvss_score":8.8,"headline":"Information disclosure in QMS Automotive","id":"CVE-2023-40726","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.8,"headline":"Security feature bypass in QMS Automotive","id":"CVE-2023-40727","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.6,"headline":"Information disclosure in QMS Automotive","id":"CVE-2022-43958","kev_date_added":null,"published":"2022-11-08"},{"cvss_score":7.3,"headline":"Information disclosure in QMS Automotive","id":"CVE-2023-40724","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.3,"headline":"Other in QMS Automotive","id":"CVE-2023-40728","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.3,"headline":"Information disclosure in QMS Automotive","id":"CVE-2023-40729","kev_date_added":null,"published":"2023-09-12"},{"cvss_score":7.1,"headline":"Missing authorization in QMS Automotive","id":"CVE-2023-40730","kev_date_added":null,"published":"2023-09-12"}],"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":"2025-02-27","vendors":["Siemens"]},"summary":"An attacker can upload malicious files to Siemens QMS Automotive, potentially leading to code tampering and execution.","url":"https://insights.sbomify.com/CVE-2023-40731/"}