GHSA-mmmh-wcxm-2wr4

    Dashboard / Vulnerabilities / GHSA-mmmh-wcxm-2wr4

    GHSA-mmmh-wcxm-2wr4

    Published: 1 Nov 2022Last Modified: 17 Feb 2024

    Summary: Spring Security authorization rules can be bypassed via forward or include dispatcher types

    Details: Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)

    Affected packages

    Package

    Name: org.springframework.security:spring-security-core

    Purl: pkg:maven/org.springframework.security/spring-security-core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 5.7.0
    Fixed -5.7.5

    Affected versions

    5.7.0
    5.7.1
    5.7.2
    5.7.3
    5.7.4

    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-mmmh-wcxm-2wr4 | CVE-DB