Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-24895

CVE-2025-24895: CIE.AspNetCore Auth Bypass Vulnerability

CVE-2025-24895 is an authentication bypass flaw in CIE.AspNetCore.Authentication affecting SAML2 validation. Attackers can impersonate users by injecting signed XML elements. This article covers technical details, impact, and patches.

Published: March 18, 2026

CVE-2025-24895 Overview

CVE-2025-24895 is an authentication bypass vulnerability in CIE.AspNetCore.Authentication, an AspNetCore Remote Authenticator for CIE 3.0 (Carta d'Identità Elettronica - Italian Electronic Identity Card). The vulnerability exists in the SAML2 assertion validation logic used by Service Providers (SP) when processing identity information from Identity Providers (IDP).

The flaw stems from improper signature verification ordering in SAML responses. The library fails to guarantee that the first signature refers to the root object, allowing an attacker to inject a legitimately signed XML element as the first element. When this occurs, all subsequent signatures in the SAML response are not verified, effectively bypassing the authentication mechanism.

Critical Impact

An attacker can craft arbitrary SAML responses that are accepted by Service Providers using vulnerable SDKs, enabling complete impersonation of any Spid and/or CIE user without valid credentials.

Affected Products

  • CIE.AspNetCore.Authentication versions prior to 2.1.0
  • Applications implementing SAML2 authentication using the vulnerable cie-aspnetcore library
  • Service Providers relying on Spid and CIE identity federation

Discovery Timeline

  • 2025-02-18 - CVE CVE-2025-24895 published to NVD
  • 2025-02-18 - Last updated in NVD database

Technical Details for CVE-2025-24895

Vulnerability Analysis

This vulnerability represents a fundamental flaw in how the CIE.AspNetCore.Authentication library validates SAML assertions. The SAML2 standard relies on XML digital signatures to ensure the integrity and authenticity of identity assertions passed between Identity Providers and Service Providers. When a user authenticates via an IDP, the resulting SAML response contains signed assertions that the SP must validate before granting access.

The vulnerable library processes signatures in sequence but assumes the first signature encountered corresponds to the root SAML response element. This assumption creates a critical security gap that attackers can exploit by prepending a legitimately signed but unrelated XML element to a crafted SAML response. Because the library verifies only the first signature and skips validation of subsequent signatures, the malicious assertions embedded in the response are accepted as authentic.

The attack is particularly dangerous because Identity Providers publish their public metadata, which includes legitimately signed XML elements. An attacker can extract these signed elements and use them to construct fraudulent SAML responses that pass the vulnerable validation logic.

Root Cause

The root cause is classified under CWE-287 (Improper Authentication). The signature verification implementation fails to properly bind signature validation to the specific XML elements they are meant to protect. Instead of ensuring cryptographic verification of the actual SAML assertion content, the library relies on positional ordering of signatures within the XML document, creating a signature wrapping vulnerability.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Obtaining legitimately signed XML elements from the publicly available IdP metadata
  2. Constructing a malicious SAML response with arbitrary identity claims
  3. Prepending the legitimately signed element to the malicious response
  4. Submitting the crafted SAML response to a vulnerable Service Provider
  5. The SP validates only the first (legitimate) signature and accepts the entire response
  6. The attacker gains authenticated access as any Spid or CIE user

The vulnerability manifests in the SAML response signature validation logic where the library iterates through signature elements without properly validating their reference targets. When an attacker injects a legitimately signed XML element at the beginning of the SAML response, the validation process verifies this first signature successfully and bypasses verification of the actual assertion signatures. For detailed technical analysis, see the GitHub Security Advisory.

Detection Methods for CVE-2025-24895

Indicators of Compromise

  • Anomalous SAML responses containing multiple signature elements with unexpected ordering
  • Authentication events where the authenticated user identity does not match expected patterns
  • SAML responses with XML elements that reference external or public metadata signatures
  • Unusual authentication success from IP addresses or locations inconsistent with legitimate user behavior

Detection Strategies

  • Implement deep packet inspection for SAML traffic to identify responses with suspicious signature element ordering
  • Monitor authentication logs for users authenticating from unusual geographic locations or devices
  • Deploy application-layer security monitoring to analyze SAML assertion content before processing
  • Establish baseline authentication patterns and alert on deviations indicating potential impersonation attacks

Monitoring Recommendations

  • Enable detailed logging of all SAML authentication transactions including full assertion content
  • Configure alerts for authentication events involving high-privilege accounts or sensitive resources
  • Implement real-time correlation of authentication events with user behavioral analytics
  • Monitor for bulk authentication attempts that could indicate automated exploitation

How to Mitigate CVE-2025-24895

Immediate Actions Required

  • Upgrade CIE.AspNetCore.Authentication to version 2.1.0 or later immediately
  • Audit authentication logs for any suspicious Spid or CIE authentication events prior to patching
  • Review all Service Provider applications using the cie-aspnetcore library for exposure
  • Consider temporarily disabling affected authentication endpoints if patching is delayed

Patch Information

The vulnerability has been addressed in CIE.AspNetCore.Authentication version 2.1.0. All users are strongly advised to upgrade immediately. The fix ensures proper signature validation by verifying that signatures correctly reference and protect the intended XML elements in SAML responses, preventing signature wrapping attacks.

Update to the patched version via NuGet:

bash
dotnet add package CIE.AspNetCore.Authentication --version 2.1.0

For additional details, refer to the GitHub Security Advisory.

Workarounds

  • No workarounds are available for this vulnerability according to the security advisory
  • Upgrading to version 2.1.0 is the only effective remediation
  • Consider implementing additional authentication factors as a defense-in-depth measure while planning the upgrade
  • Network-level restrictions on SAML endpoints may reduce exposure but do not fully mitigate the risk
bash
# Configuration example - Upgrade to patched version
# Update your project's package reference
dotnet add package CIE.AspNetCore.Authentication --version 2.1.0

# Verify installed version
dotnet list package | grep CIE.AspNetCore.Authentication

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechCie Aspnetcore

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-287
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English