Cross-site Request Forgery (CSRF) Affecting cd.go.plugin:go-plugin-api Open this link in a new tab package, versions [19.6.0,21.2.0)
Attack Complexity
Low
User Interaction
Required
Availability
High
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-JAVA-CDGOPLUGIN-1090357
-
published
4 Apr 2021
-
disclosed
2 Apr 2021
-
credit
Unknown
Introduced: 2 Apr 2021
CVE-2021-25924 Open this link in a new tabHow to fix?
Upgrade cd.go.plugin:go-plugin-api
to version 21.2.0 or higher.
Overview
Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) 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.