CVE-2020-5397
CSRF attack via CORS preflight requests with Spring MVC or Spring WebFlux
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben 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 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Oracle | Application Testing Suite | Version 13.3.0.1 |
| Oracle | Communications Brm - Elastic Charging Engine | Versionen 11.3, 12.0 |
| Oracle | Communications Diameter Signaling Router | ab 8.0.0 bis einschließlich 8.2.2 |
| Oracle | Communications Element Manager | Versionen 8.1.1, 8.2.0, 8.2.1 |
| Oracle | Communications Policy Management | Version 12.5.0 |
| Oracle | Communications Session Route Manager | Versionen 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 | Versionen 12.0.0, 12.1.0 |
| Oracle | Healthcare Master Person Index | Version 4.0.2 |
| Oracle | Insurance Calculation Engine | ab 11.0.0 bis einschließlich 11.3.1 |
| VMware | Spring Framework | ab 5.2.0 vor 5.2.3 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- 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