Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade SPID.AspNetCore.Authentication
to version 3.4.0 or higher.
SPID.AspNetCore.Authentication is a custom implementation of an AspNetCore RemoteAuthenticationHandler for SPID (a.k.a. the Italian 'Sistema Pubblico di Identità Digitale').
Affected versions of this package are vulnerable to User Impersonation due to the insufficient validation of SAML response signatures in the VerifySignature()
function in XmlHelpers.cs
. An attacker can impersonate any user by injecting a valid signature into a SAML response where the root object is expected.