CVE-2021-25924 Cross-site request forgery in gocd

High 8.8 Published Updated

Attackers can exploit missing CSRF protection in GoCD to modify backup settings or execute system commands via malicious links.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-25924?

CVE-2021-25924 is a high-severity vulnerability in gocd, published on 1 Apr 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In GoCD, versions 19.6.0 to 21.1.0 are vulnerable to Cross-Site Request Forgery due to missing CSRF protection at the `/go/api/config/backup` endpoint. An attacker can trick a victim to click on a malicious link which could change backup configurations or execute system commands in the post_backup_script field.

Weakness: CWE-352

Which versions are affected by CVE-2021-25924?

It affects 1 product.

Products include Thoughtworks Gocd.

How do I fix CVE-2021-25924?

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

Is CVE-2021-25924 being exploited?

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

Sources

Also known as GHSA-997w-mjqx-37fq.

Is CVE-2021-25924 in your software?

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

Check your SBOMs for free