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.0: 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/E:U/U:Green
CVE-ID: CVE-2020-5407
CWE-ID: CWE-347
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Spring Security

Detailed vulnerability description

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.


How to mitigate CVE-2020-5407

Install updates from vendor's website.

Sources