CVE-2022-36088 GoCD Windows installations outside default location inadequately restrict installation file permissions

Medium 5.0 Published Updated

Local attackers can escalate privileges by modifying GoCD executables if installed outside default Windows directories with weak permissions.

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-2022-36088?

CVE-2022-36088 is a medium-severity vulnerability in gocd, published on 7 Sep 2022. 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

GoCD is a continuous delivery server. Windows installations via either the server or agent installers for GoCD prior to 22.2.0 do not adequately restrict permissions when installing outside of the default location. This could allow a malicious user with local access to the server GoCD Server or Agent are installed on to modify executables or components of the installation. This does not affect zip file-based installs, installations to other platforms, or installations inside `Program Files` or `Program Files (x86)`. This issue is fixed in GoCD 22.2.0 installers. As a workaround, if the server or agent is installed outside of `Program Files (x86)`, verify the the permission of the Server or Agent installation directory to ensure the `Everyone` user group does not have `Full Control`, `Modify` or `Write` permissions.

Weakness: CWE-284, CWE-269

Which versions are affected by CVE-2022-36088?

It affects 1 product.

Products include Thoughtworks Gocd.

How do I fix CVE-2022-36088?

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

Is CVE-2022-36088 being exploited?

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

Sources

Also known as GHSA-gpv4-xqhc-5vcj.

Is CVE-2022-36088 in your software?

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

Check your SBOMs for free