In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ 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.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Spring_security | Vmware | * | 5.5.7 (excluding) |
Spring_security | Vmware | 5.6.0 (including) | 5.6.4 (excluding) |
OCP-Tools-4.13-RHEL-8 | RedHat | jenkins-0:2.387.3.1684911776-3.el8 | * |
Red Hat Fuse 7.11 | RedHat | spring-security | * |
Libspring-java | Ubuntu | bionic | * |
Libspring-java | Ubuntu | impish | * |
Libspring-java | Ubuntu | kinetic | * |
Libspring-java | Ubuntu | lunar | * |
Libspring-java | Ubuntu | mantic | * |
Libspring-security-2.0-java | Ubuntu | trusty | * |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.