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 prior to 7.0.4, within the 'SubjectX500PrincipalExtractor' component. This issue arises because the extractor does not properly manage certain malformed X.509 certificate Common Name (CN) values. As a result, it can misread the username, potentially allowing an attacker to impersonate another user by exploiting a carefully crafted certificate. This vulnerability is situated within Spring Security's pre-authentication flow, which relies on credentials being validated by a trusted source upstream. Therefore, exploiting this issue assumes a compromise of that trust.
Successful exploitation allows for unauthorized user impersonation, where an attacker can assume the identity of another user within the application.
Users should upgrade to Spring Security version 7.0.5, which addresses this vulnerability. This fix is available in the open-source version.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.