Spring Security
cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*, +1 more
- >= 7.0.0, <= 7.0.4
A vulnerability exists in Spring Security versions 7.0.0 through 7.0.4, where the servlet path defined in XML authorization rules is not properly included in path matching. This issue arises when using the `<sec:intercept-url servlet-path="/servlet-path" pattern="/endpoint/**"/>` configuration. As a result, the associated authorization rules are not applied, potentially allowing unauthorized access to protected resources.
Exploitation of this vulnerability can lead to unauthorized access by bypassing defined authorization rules, allowing users to access endpoints without proper authentication or authorization.
Users can upgrade to Spring Security 7.0.5 to address this vulnerability. If an upgrade is not possible, the servlet path can be directly included in the URL pattern for the `intercept-url` element, using an appropriate `access` expression for the application.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.