{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-12510 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-12510 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-12510 is a high-severity vulnerability in Beckhoff TwinCat XAR 3.1, published on 19 Nov 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-12510 and fix it if it is affected.\n\nWhat it is: CVE-2020-12510 is a high-severity vulnerability in Beckhoff TwinCat XAR 3.1, published on 19 Nov 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-12510 in the wild and no public exploit code.\n\nAffected product: Beckhoff TwinCat XAR 3.1. 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-2020-12510/ (Markdown: https://insights.sbomify.com/CVE-2020-12510/index.md)","id":"CVE-2020-12510","markdown":"https://insights.sbomify.com/CVE-2020-12510/index.md","name":"CVE-2020-12510","record":{"aliases":["GHSA-63jm-rmjc-h9qh"],"analysis":{"component_type":"ics_ot","fix_type":"configuration_change","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Beckhoff TwinCAT software","requires_auth":"low_privilege","summary":"A local attacker can replace a system executable to execute arbitrary code with higher privileges when another user logs in.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERTVDE","cpe":[{"product":"twincat_extended_automation_runtime","vendor":"beckhoff"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"The default installation path of the TwinCAT XAR 3.1 software in all versions is underneath C:\\TwinCAT. If the directory does not exist it and further subdirectories are created with permissions which allow every local user to modify the content. The default installation registers TcSysUI.exe for automatic execution upon log in of a user. If a less privileged user has a local account he or she can replace TcSysUI.exe. It will be executed automatically by another user during login. This is also true for users with administrative access. Consequently, a less privileged user can trick a higher privileged user into executing code he or she modified this way. By default Beckhoff’s IPCs are shipped with TwinCAT software installed this way and with just a single local user configured. Thus the vulnerability exists if further less privileged users have been added.","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":"Beckhoff: Privilege Escalation through TwinCat System","id":"CVE-2020-12510","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2020"},"n_packages":0,"n_references":1,"next":{"headline":"Pepper+Fuchs Comtrol IO-Link Master Cross-Site Request Forgery","id":"CVE-2020-12511"},"packages":[],"prev":{"headline":"s::can moni::tools prone to path traversal in camera-file module","id":"CVE-2020-12509"},"products":["TwinCat XAR 3.1"],"published":"2020-11-19","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Beckhoff"]},"summary":"A local attacker can replace a system executable to execute arbitrary code with higher privileges when another user logs in.","url":"https://insights.sbomify.com/CVE-2020-12510/"}