An issue was discovered in Gradle Enterprise 2018.2 – 2020.2.4. The CSRF prevention token is stored in a request cookie that is not annotated as HttpOnly. An attacker with the ability to execute arbitrary code in a user’s browser could impose an arbitrary value for this token, allowing them to perform cross-site request forgery.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15776
Reference (s):
- https://security.gradle.com/advisory/CVE-2020-15776
- https://github.com/gradle/gradle/security/advisories