#VU50820 Permissions, Privileges, and Access Controls in Spring Security - CVE-2021-22112


Vulnerability identifier: #VU50820

Vulnerability risk: Medium

CVSSv4.0: 5.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-22112

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: No

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

Vendor: VMware, Inc

Description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to the affected software can fail to save the SecurityContext if it is changed more than once in a single request. A remote authenticated attacker can gain elevated privileges on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Spring Security: 5.2.0 - 5.2.8, 5.3.0 - 5.3.7, 5.4.0 - 5.4.3


External links
https://tanzu.vmware.com/security/cve-2021-22112


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability