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.
Remediation
References
https://github.com/gocd/gocd/commit/7d0baab0d361c377af84994f95ba76c280048548
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25924%2C
Related Vulnerabilities
CVE-2018-1288 Vulnerability in maven package org.apache.kafka:kafka_2.10
CVE-2021-3780 Vulnerability in npm package peertube
CVE-2018-11695 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2022-0672 Vulnerability in maven package org.eclipse.lemminx:lemminx-parent
CVE-2022-24847 Vulnerability in maven package org.geoserver.web:gs-web-sec-jdbc