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.
← All advisories
CSRF prevention token is overridable by user code
- Affected product(s)
- Gradle Enterprise 2018.2 - 2020.2.4
- Severity
- High
- Published
- September 15, 2020
- Related CVE ID(s)
Description
Mitigation
Upgrade to Gradle Enterprise 2020.2.5.
Credit
This issue was responsibly reported by Compass Security.