CVE-2020-15145: Local privilege elevation in Composer-Setup for Windows
Vulnerability summary
CVE-2020-15145 is a high (CVSS 8.2) Incorrect Default Permissions vulnerability in composer windows-setup. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 38.8% of scored vulnerabilities.
Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
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