GitHub Advisory Database
GHSA-cf8j-64h9-6q58
CSRF in Play Framework
Details
In Play Framework 2.6.0 through 2.8.1, the CSRF filter can be bypassed by making CORS simple requests with content types that contain parameters that can't be parsed.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.typesafe.play:play_2.12 | All versions before 2.7.5 (fixed in 2.7.5) |
| Maven | com.typesafe.play:play_2.12 | From 2.8.0 before 2.8.2 (fixed in 2.8.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-12480
- https://github.com/playframework/playframework/pull/10285
- https://github.com/playframework/playframework/commit/c82de44fc50b7c58c6e0580f1f67ff08aa7bd154
- https://github.com/playframework/playframework
- https://www.playframework.com/security/vulnerability
- https://www.playframework.com/security/vulnerability/CVE-2020-12480-CsrfBlacklistBypass