CVE-2025-24894CWE-287

SAML Response Signature Verification Bypass in SPID.AspNetCore.Authentication

Critical · published February 18, 2025

CVSS v3.1
9.1
EPSS
1%
Percentile
48.4
In the wild
Unconfirmed
What it is

🚨 An attacker only needs a single signed XML element to potentially impersonate any Spid or CIE user! This vulnerability in SPID.AspNetCore.Authentication is downright alarming! 🔥 Think of it like a restaurant where a waiter takes an order without verifying the table. One forged order could let anyone in the restaurant claim to be someone else, bypassing all the checks! With this vulnerability, an attacker could craft a rogue SAML response that would be accepted by vulnerable service providers. This means they could gain unauthorized access to applications, impersonating legitimate users and potentially gaining access to sensitive information. The consequences could be absolutely devastating for both users and businesses—it's like leaving the front door wide open!

Put simply

Think of it like a restaurant where a waiter takes an order without verifying the table. One forged order could let anyone in the restaurant claim to be someone else, bypassing all the checks! This vulnerability stems from a flaw in the signature validation logic within the SPID.AspNetCore.Authentication SDK. Attackers can exploit this by injecting a signed element as the first item, which leads to a failure in verifying subsequent signatures, allowing arbitrary SAML responses to be accepted.

What to do

With this vulnerability, an attacker could craft a rogue SAML response that would be accepted by vulnerable service providers. This means they could gain unauthorized access to applications, impersonating legitimate users and potentially gaining access to sensitive information. The consequences could be absolutely devastating for both users and businesses—it's like leaving the front door wide open! Upgrade immediately to version 3.4.0 of SPID.AspNetCore.Authentication to mitigate this risk. Since there are no known workarounds, it’s crucial to implement this patch without delay. Ensure your authentication processes are robust and verify all signatures thoroughly! You've got this! By taking these steps, you’ll be well on your way to securing your application against this sneaky vulnerability! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00607 · 48.4th percentile
Weakness
CWE-287 · Improper Authentication
Published
2025-02-18T18:39Z
EPSS history
Timeline
  • 18 FEB 18:39Z
    SAML Response Signature Verification Bypass in SPID.AspNetCore.Authentication
    cvelistv5