{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15145 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-15145 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-15145 is a medium-severity vulnerability in composer windows-setup, published on 14 Aug 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-15145 and fix it if it is affected.\n\nWhat it is: CVE-2020-15145 is a medium-severity vulnerability in composer windows-setup, published on 14 Aug 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-15145 in the wild and no public exploit code.\n\nAffected product: composer windows-setup. 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-15145/ (Markdown: https://insights.sbomify.com/CVE-2020-15145/index.md)","id":"CVE-2020-15145","markdown":"https://insights.sbomify.com/CVE-2020-15145/index.md","name":"CVE-2020-15145","record":{"aliases":["GHSA-wgrx-r3qv-332c"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Windows Composer installer","requires_auth":"low_privilege","summary":"Local attackers can gain elevated privileges or execute code via DLL hijacking or file modification in the Composer Windows installer.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"composer-setup","vendor":"getcomposer"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"In Composer-Setup for Windows before version 6.0.0, if the developer's computer is shared with other users, a local attacker may be able to exploit the following scenarios. 1. A local regular user may modify the existing `C:\\ProgramData\\ComposerSetup\\bin\\composer.bat` in order to get elevated command execution when composer is run by an administrator. 2. A local regular user may create a specially crafted dll in the `C:\\ProgramData\\ComposerSetup\\bin` folder in order to get Local System privileges. See: https://itm4n.github.io/windows-server-netman-dll-hijacking. 3. If the directory of the php.exe selected by the user is not in the system path, it is added without checking that it is admin secured, as per Microsoft guidelines. See: https://msrc-blog.microsoft.com/2018/04/04/triaging-a-dll-planting-vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Local privilege elevation in Composer-Setup for Windows","id":"CVE-2020-15145","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2020"},"n_packages":0,"n_references":2,"next":{"headline":"Remote Code Execution in SyliusResourceBundle","id":"CVE-2020-15146"},"packages":[],"prev":{"headline":"Remote Code Execution in SyliusResourceBundle","id":"CVE-2020-15143"},"products":["windows-setup"],"published":"2020-08-14","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-08-04","vendors":["composer"]},"summary":"Local attackers can gain elevated privileges or execute code via DLL hijacking or file modification in the Composer Windows installer.","url":"https://insights.sbomify.com/CVE-2020-15145/"}