Cross-site Request Forgery (CSRF)

Affecting cd.go.plugin:go-plugin-api artifact, versions [19.6.0,21.2.0)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

Upgrade cd.go.plugin:go-plugin-api to version 21.2.0 or higher.

References

CVSS Score

7.1
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    Low
  • Availability
    High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Credit
Unknown
CVE
CVE-2021-25924
CWE
CWE-352
Snyk ID
SNYK-JAVA-CDGOPLUGIN-1090357
Disclosed
02 Apr, 2021
Published
04 Apr, 2021