#VU63345 Improper Authorization in Spring Security


| Updated: 2023-03-18

Vulnerability identifier: #VU63345

Vulnerability risk: High

CVSSv3.1: 7.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-22978

CWE-ID: CWE-285

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Spring Security
Server applications / Frameworks for developing and running applications

Vendor: VMware, Inc

Description

The vulnerability allows a remote attacker to bypass authorization process.

The vulnerability exists due to input validation error when processing untrusted input in applications that are using RegexRequestMatcher with `.` in the regular expression. A remote non-authenticated attacker can bypass authorization checks.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Spring Security: 5.5.0 - 5.5.6, 5.4.0 - 5.4.10, 5.6.0 - 5.6.3, 5.3.0 - 5.3.8, 5.2.0 - 5.2.9, 5.0.0 - 5.0.19, 5.1.0 - 5.1.13


External links
http://tanzu.vmware.com/security/cve-2022-22978


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability