CVE-2020-15145 Local privilege elevation in Composer-Setup for Windows

Medium 6.7 Published Updated

Local attackers can gain elevated privileges or execute code via DLL hijacking or file modification in the Composer Windows installer.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-15145?

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.

Official 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.

Weakness: CWE-276

Which versions are affected by CVE-2020-15145?

It affects 1 product.

Products include Getcomposer Composer-Setup.

How do I fix CVE-2020-15145?

No fix has been published for CVE-2020-15145 yet. Limit exposure of the affected software until one is available.

Is CVE-2020-15145 being exploited?

There is no known exploitation of CVE-2020-15145 in the wild and no public exploit code.

Sources

Also known as GHSA-wgrx-r3qv-332c.

Is CVE-2020-15145 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free