CVE-2020-12480 CSRF in Play Framework
Attackers can bypass CSRF protection in Play Framework by sending malformed CORS requests with unparseable content types.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-12480?
CVE-2020-12480 is a medium-severity vulnerability in n/a, published on 17 Aug 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-352
Which versions are affected by CVE-2020-12480?
4 open source packages ship an affected version, including com.typesafe.play:play_2.12. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.typesafe.play:play_2.12 Maven | All versions | 2.7.5 |
com.typesafe.play:play_2.12 Maven | All versions | 2.7.5 |
com.typesafe.play:play_2.12 Maven | From 2.8.0 | 2.8.2 |
com.typesafe.play:play_2.12 Maven | From 2.8.0 | 2.8.2 |
Products include Lightbend Play Framework.
How do I fix CVE-2020-12480?
Upgrade com.typesafe.play:play_2.12 to a fixed version for your release line: 2.7.5 or 2.8.2.
Is CVE-2020-12480 being exploited?
There is no known exploitation of CVE-2020-12480 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cf8j-64h9-6q58.