Exploit database

Vulnerability

CVE-2022-31692

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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)

CVE Program

Exploit source choices

5 sources
aneasystone/github-trending
GH-57cc0777a8d8d3714cc5a0fca8b6fd16GitHubUnofficial GitHub sourcePreferred

使用 Github Actions 跟踪 Github 趋势项目。

2022-08-0955 files · 213 stars
ax1sx/springsecurity
GH-6a9a279278f16db7baddc29f43605f3bGitHubUnofficial GitHub source

A list for Spring Security

2022-07-06673 files · 129 stars
blipzip/cve-2022-31692
GH-1e7d71b5e4c9253ae17b7c1e2639aceeGitHubUnofficial GitHub source

A project demonstrating an app that is vulnerable to Spring Security authorization bypass CVE-2022-31692

2022-11-0315 files · 35 stars
agilevatester/springsecurity
GH-12131cce56afec9bbf35b34a0be26d22GitHubUnofficial GitHub source

agilevatester/springsecurity source repository

2025-04-22418 files · 0 stars
agilevatester/springsecurityv1
GH-bd9a554ae6618e15d9a0299f4d30e13eGitHubUnofficial GitHub source

OSS - Spring Security Vulnerability Reachability Evaluation

2025-05-01354 files · 0 stars