Bug 1800617 (CVE-2020-5397) - CVE-2020-5397 springframework: CSRF attack via CORS Preflight Requests with Spring MVC or Spring WebFlux
Summary: CVE-2020-5397 springframework: CSRF attack via CORS Preflight Requests with S...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-5397
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1800618
Blocks: 1800619
TreeView+ depends on / blocked
 
Reported: 2020-02-07 14:35 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-06-24 14:07 UTC (History)
52 users (show)

Fixed In Version: springframework 5.2.3
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in springframework. CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints are possible. 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 is 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.
Clone Of:
Environment:
Last Closed: 2020-03-18 10:31:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-02-07 14:35:03 UTC
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.

Reference:
https://pivotal.io/security/cve-2020-5397

Comment 1 Guilherme de Almeida Suckevicz 2020-02-07 14:35:31 UTC
Created springframework tracking bugs for this issue:

Affects: fedora-all [bug 1800618]

Comment 2 Kunjan Rathod 2020-02-09 23:24:03 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss BRMS 5
 * Red Hat JBoss Data Virtualization & Services 6
 * Red Hat JBoss Fuse 6
 * Red Hat JBoss Fuse Service Works 6
 * Red Hat JBoss SOA Platform 5

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 5 Doran Moppert 2020-03-18 04:48:52 UTC
Statement:

This issue does not affect the version of SpringFramework (embedded in rhevm-dependencies) shipped with Red Hat Gluster Storage 3, as it does not provide support for spring-web.

This issue does not affect the version of SpringFramework (embedded in rhvm-dependencies) shipped with Red Hat Virtualization, as it does not provide support for spring-web.

Comment 6 Product Security DevOps Team 2020-03-18 10:31:44 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-5397


Note You need to log in before you can comment on or make changes to this bug.