CVE-2021-25924 Cross-site request forgery in gocd
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.
Other vulnerabilities in gocd
- CVE-2021-43290 Path traversal in n/a
- CVE-2021-44659 Server-side request forgery in n/a
- CVE-2024-56320 GoCD vulnerable to admin privilege escalation by a malicious internal/existing authenticated user
- CVE-2022-39311 Compromised agents may be able to execute remote code on GoCD Server
- CVE-2022-29184 Command Injection/Argument Injection in GoCD
Sources
Also known as GHSA-997w-mjqx-37fq.