GHSA-7pm4-g2qj-j85x

    Dashboard / Vulnerabilities / GHSA-7pm4-g2qj-j85x

    GHSA-7pm4-g2qj-j85x

    Published: 21 Jan 2020Last Modified: 15 Mar 2024
    Aliases:

    Summary: CSRF attack via CORS preflight requests with Spring MVC or Spring WebFlux

    Details: 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

    Package

    Name: org.springframework:spring-webmvc

    Purl: pkg:maven/org.springframework/spring-webmvc

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 5.2.0
    Fixed -5.2.3

    Affected versions

    5.2.0.RELEASE
    5.2.1.RELEASE
    5.2.2.RELEASE

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-7pm4-g2qj-j85x | CVE-DB