🔍 CVE-2025-24895

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

🇰🇷 한글 설명

CIE.AspNetCore.Authentication 라이브러리의 SAML 어설션 검증 로직에서 서명 검증 오류가 발견되었습니다. 공격자가 IdP의 공개 메타데이터를 사용하여 조작된 XML 요소를 삽입하면, 루트 객체에 대한 서명 검증을 우회하여 임의의 사용자로 위장할 수 있습니다.

💡 쉬운 설명

로그인 인증 과정에서 디지털 서명을 확인하는 규칙에 허점이 있어, 가짜 로그인 정보를 만들어도 시스템이 진짜로 착각할 수 있는 문제입니다. 이를 통해 공격자는 다른 사람의 계정으로 아무런 제약 없이 로그인할 수 있습니다.

🇺🇸 원문 (English)

CIE.AspNetCore.Authentication is an AspNetCore Remote Authenticator for CIE 3.0. Authentication using Spid and CIE is based on the SAML2 standard which provides two entities: 1. 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; 2. 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 library cie-aspnetcore refers to the second entity, the SP, and implements the validation logic of SAML assertions within SAML responses. In affected versions 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 issue has been addressed in version 2.1.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

📍 영향받는 시스템

CIE.AspNetCore.Authentication SDK 2.1.0 미만 버전

⚔️ 공격 벡터

IdP의 공개 메타데이터를 이용해 서명된 XML 요소를 삽입하여 SAML 응답의 서명 검증을 우회하는 방식

🛡️ 대응 방법

CIE.AspNetCore.Authentication 라이브러리를 버전 2.1.0 이상으로 즉시 업그레이드하십시오.

🔧 검증 코드

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

Shell / Script
dotnet list package | grep CIE.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