Spring Security < 5.5.7 / 5.6.x < 5.6.4 Authorization Bypass

critical Nessus Plugin ID 170668

Synopsis

The remote host contains a web application framework that is affected by an authorization bypass vulnerability.

Description

The remote host contains a Spring Security version that is prior to 5.5.7 or 5.6.x prior to 5.6.4. It is, therefore, affected by an authorization bypass vulnerability.

- In Spring Security versions 5.5.6 and 5.6.3 and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass. (CVE-2022-22978)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Spring Security version 5.5.7, 5.6.4, 5.7 or later.

See Also

https://tanzu.vmware.com/security/CVE-2022-22978

Plugin Details

Severity: Critical

ID: 170668

File Name: spring_security_CVE-2022-22978.nasl

Version: 1.3

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 1/26/2023

Updated: 10/7/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-22978

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:pivotal_software:spring_security

Required KB Items: installed_sw/Spring Security

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/16/2022

Vulnerability Publication Date: 5/16/2022

Reference Information

CVE: CVE-2022-22978