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