medium5.3
CVE-2020-5397
CSRF attack via CORS preflight requests with Spring MVC or Spring WebFlux
Impact
Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.springframework:spring-webmvc | >= 5.2.0, < 5.2.3 | 5.2.3 |
| maven | org.springframework:spring-webflux | >= 5.2.0, < 5.2.3 | 5.2.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vmware | Spring Framework | from 5.2.0 before 5.2.3 |
| Oracle | Application Testing Suite | Version 13.3.0.1 |
| Oracle | Communications Brm - Elastic Charging Engine | Versions 11.3, 12.0 |
| Oracle | Communications Diameter Signaling Router | from 8.0.0 through 8.2.2 |
| Oracle | Communications Element Manager | Versions 8.1.1, 8.2.0, 8.2.1 |
| Oracle | Communications Policy Management | Version 12.5.0 |
| Oracle | Communications Session Route Manager | Versions 8.1.1, 8.2.0, 8.2.1 |
| Oracle | Enterprise Manager Base Platform | Version 13.2.1.0 |
| Oracle | Financial Services Regulatory Reporting With Agilereporter | Version 8.0.9.2.0 |
| Oracle | Flexcube Private Banking | Versions 12.0.0, 12.1.0 |
| Oracle | Healthcare Master Person Index | Version 4.0.2 |
| Oracle | Insurance Calculation Engine | from 11.0.0 through 11.3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://pivotal.io/security/cve-2020-5397
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://github.com/advisories/GHSA-7pm4-g2qj-j85x
- https://nvd.nist.gov/vuln/detail/CVE-2020-5397
- https://github.com/spring-projects/spring-framework
- https://github.com/spring-projects/spring-framework/commit/bc7d01048579430b4b2df668178809b63d3f1929