🔍 CVE-2025-24894

9.1
CVSS Score
CRITICAL
2025-02-18
2026-06-17 08:59
✅ 완료

🇰🇷 한글 설명

SPID.AspNetCore.Authentication 라이브러리에서 SAML2 서명 검증 로직의 결함이 발견되었습니다. 공격자가 유효한 서명을 포함한 임의의 SAML 응답을 주입하여 다른 사용자로 위장할 수 있는 심각한 취약점입니다.

💡 쉬운 설명

로그인 인증 과정에서 서명을 확인하는 규칙이 허술하여, 공격자가 가짜 신분증을 만들어 다른 사람인 척 로그인할 수 있는 문제입니다. 이로 인해 시스템의 모든 사용자 계정이 탈취될 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

SPID.AspNetCore.Authentication 버전 3.4.0 미만

⚔️ 공격 벡터

IdP의 공개 메타데이터를 사용하여 유효한 서명이 포함된 조작된 SAML 응답을 생성 및 주입

🛡️ 대응 방법

SPID.AspNetCore.Authentication 라이브러리를 버전 3.4.0 이상으로 즉시 업데이트

🔧 검증 코드

출력된 라이브러리 버전이 3.4.0 미만인지 확인하십시오.

Shell / Script
dotnet list package | grep SPID.AspNetCore.Authentication

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

IBM Verify Identity Access