CVE-2020-15145: composer windows-setup Incorrect Default Permissions
Vulnerability summary
CVE-2020-15145 is a high (CVSS 8.2) Incorrect Default Permissions vulnerability in composer windows-setup. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 33.7% of scored vulnerabilities.
Timeline
- 14-08-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- CVE.orgCNA6.7MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:H/A:NDiffers
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
0.00 pp
From 0.41% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Composer1 product
- windows-setup< 6.0.0
Getcomposer1 product
- composer-setup< 6.0.0
2 vendors · 2 products
References
2 links- github.com/composer/windows-setup/security/advisories/GHSA-wgrx-r3qv-332cX Refsource CONFIRMThird Party Advisory
- github.com/composer/windows-setup/commit/ca9f1435d368e3377e82d60ef0c7b795afa9f804X Refsource MISCPatchThird Party Advisory