CVE-2022-31692: Critical severity VMware Spring Security vulnerability

Published Oct 31, 2022
·
Updated

A flaw was found in the spring-security framework. Spring Security could allow a remote attacker to bypass security restrictions caused by an issue when using forward or include dispatcher types. By sending a specially-crafted request, an attacker can bypass authorization rules.

Other sources

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 Software

7 affected componentsFixes available
redhat/jenkins<0:2.387.1.1680701869-1.el8
0:2.387.1.1680701869-1.el8
redhat/spring security<5.7.5
5.7.5
redhat/spring security<5.6.9
5.6.9
VMware Spring Security>=5.6.0<5.6.9
VMware Spring Security>=5.7.0<5.7.5
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jenkins to a version that resolves this vulnerability.

    Fixed in 0:2.387.1.1680701869-1.el8
  2. Upgrade

    Upgrade redhat/spring security to a version that resolves this vulnerability.

    Fixed in 5.7.5
  3. Upgrade

    Upgrade redhat/spring security to a version that resolves this vulnerability.

    Fixed in 5.6.9
  4. Upgrade

    Upgrade spring-security to a version that resolves this vulnerability.

    Fixed in 5.7.5
  5. Upgrade

    Upgrade spring-security to a version that resolves this vulnerability.

    Fixed in 5.6.9
  6. Configuration

    In the application configuration, change spring.security.filter.dispatcher-types from including forward and/or include (e.g., request, error, async, forward, include) to only request, error, async so that FilterChainProxy is not applied to forward/include dispatcher types.

    Spring Security spring.security.filter.dispatcher-types = request, error, async
  7. Compensating control

    Ensure Spring Security is not configured to apply authorization/FilterChainProxy to forward and/or include dispatcher types (e.g., avoid authorizeHttpRequests().shouldFilterAllDispatcherTypes(true) and dispatcher types that include forward/include) so that forward/include requests cannot bypass authorization rules.

Event History

Oct 31, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 19, 2023
Data Sourced
via Red Hat·05:17 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-31692?

CVE-2022-31692 is a vulnerability found in the Spring Security framework that allows a remote attacker to bypass authorization rules.

2

How severe is CVE-2022-31692?

CVE-2022-31692 has a severity rating of 9.8 (critical).

3

Which versions of Spring Security are affected by CVE-2022-31692?

Spring Security versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 are affected by CVE-2022-31692.

4

How can CVE-2022-31692 be exploited?

CVE-2022-31692 can be exploited by leveraging forward or include dispatcher types to bypass authorization rules.

5

Where can I find more information about CVE-2022-31692?

More information about CVE-2022-31692 can be found at the following references: - [CVE Website](https://www.cve.org/CVERecord?id=CVE-2022-31692) - [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-31692) - [Spring Security Advisory](https://spring.io/security/cve-2022-31692) - [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2162206) - [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2023:3954)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203