PT-2020-5369 · Spring · Spring Security

Published

2020-05-07

·

Updated

2021-06-14

·

CVE-2020-5407

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Spring Security versions 5.2.x prior to 5.2.4 Spring Security versions 5.3.x prior to 5.3.2
Description The issue is related to a signature wrapping vulnerability during SAML response validation in the spring-security-saml2-service-provider component. This allows a malicious user to modify an otherwise valid SAML response and append an arbitrary assertion that will be accepted as valid. The vulnerability can be exploited by a remote attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations For versions 5.2.x prior to 5.2.4, update to version 5.2.4 or later. For versions 5.3.x prior to 5.3.2, update to version 5.3.2 or later. As a temporary workaround, consider disabling the spring-security-saml2-service-provider component until a patch is available. Restrict access to the SAML response validation functionality to minimize the risk of exploitation. Avoid using the vulnerable component for critical authentication processes until the issue is resolved.

Fix

Improper Verification of Cryptographic Signature

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2021-00257
CVE-2020-5407
GHSA-48RW-J489-928M

Affected Products

Spring Security