SAML Response Signature Verification Bypass in SPID.AspNetCore.Authentication
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
SPID.AspNetCore.Authentication is an AspNetCore Remote Authenticator for SPID. Authentication using Spid and CIE is based on the SAML2 standard which provides two entities: Identity Provider (IDP): the system that authenticates users and provides identity information (SAML affirmation) to the Service Provider, in essence, is responsible for the management of the credentials and identity of users; Service Provider (SP): the system that provides a service to the user and relies on the Identity Provider to authenticate the user, receives SAML assertions from the IdP to grant access to resources. The validation logic of the signature is central as it ensures that you cannot create a SAML response with arbitrary assertions and then impersonate other users. There is no guarantee that the first signature refers to the root object, it follows that if an attacker injects an item signed as the first element, all other signatures will not be verified. The only requirement is to have an XML element legitimately signed by the IdP, a condition that is easily met using the IdP's public metadata. An attacker could create an arbitrary SAML response that would be accepted by SPs using vulnerable SDKs, allowing him to impersonate any Spid and/or CIE user. This vulnerability has been addressed in version 3.4.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| italia | spid-aspnetcore | before 3.4.0 | 3.4.0 | Patch available | CNA |
| — | SPID.AspNetCore.Authentication (NuGet) | before 3.4.0 | 3.4.0 | Patch available | GHSA-36h8-r92j-w9vw |
- spid-aspnetcore Vendoritalia Affected before 3.4.0 Fixed in 3.4.0 Patch available CNA
- SPID.AspNetCore.Authentication (NuGet) Vendor— Affected before 3.4.0 Fixed in 3.4.0 Patch available GHSA-36h8-r92j-w9vw
Remediation
- Fix · CNA spid-aspnetcore (italia) Fixed in 3.4.0
- Fix · GHSA-36h8-r92j-w9vw SPID.AspNetCore.Authentication (NuGet) Fixed in 3.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-24894
- 2026-10-03 Alias added: GHSA-36h8-r92j-w9vw
References
More italia vulnerabilities
- TI-2025-18597 SAML Response Signature Verification Bypass in CIE.AspNetCore.Authentication CVSS 3.1CRITICAL 9.1
- TI-2025-01550 Design Comuni Italia < 1.1.2 - Unauthenticated Stored XSS CVSS 3.1MEDIUM 6.1
Sources
- CVE-2025-24894 · CVE Program
- CVE-2025-24894 · NVD
- FIRST EPSS
- GHSA-36h8-r92j-w9vw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences