Improper Verification of Cryptographic Signature in Spring Security - CVE-2020-5407

 

Improper Verification of Cryptographic Signature in Spring Security - CVE-2020-5407

Published: June 1, 2020


Vulnerability identifier: #VU28464
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-5407
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to a signature wrapping issue during SAML response validation when using the "spring-security-saml2-service-provider" component. A remote authenticated attacker can carefully modify an otherwise valid SAML response and append an arbitrary assertion that Spring Security will accept as valid.


Affected software

Spring Security

How to mitigate CVE-2020-5407

Install updates from vendor's website.

Spring Security - addressed in versions 5.2.4, 5.3.2

External References

Related Security Bulletins