🔍 CVE-2025-1397

4.8
CVSS Score
MEDIUM
2026-11-03
2026-11-05 13:10
✅ 완료

🇰🇷 한글 설명

JWT Bearer 또는 SAML2 Bearer грант 타입을 사용할 때, 시스템이 액세스 토큰을 발급하기 전에 Identity Provider(IDP)의 상태를 검증하지 않습니다. 이로 인해 비활성화된 IDP와 연결된 경우에도 토큰이 발급될 수 있습니다.

💡 쉬운 설명

이 취약점은 관리자가 차단한 신원 확인 서비스로도 출입증(토큰)을 받을 수 있게 만듭니다. 그 결과 본래 접근이 막혀야 할 보호된 자원에 접근될 수 있습니다.

🇺🇸 원문 (English)

When utilizing JWT Bearer or SAML2 Bearer grant types, the system fails to validate the status of the Identity Provider (IDP) before issuing access tokens. This oversight permits tokens to be generated even when the associated IDP has been disabled. A malicious actor could leverage this vulnerability to obtain access tokens by targeting a disabled IDP. This could enable them to bypass intended security controls and potentially access protected resources that should be inaccessible due to the IDP's disabled state.

📍 영향받는 시스템

IDP 상태 검증을 생략하는 JWT Bearer/SAML2 Bearer 그랜트를 사용하는 OAuth 2.0 기반 인증 서버 (해당 제품 및 패치 버전은 벤더 권고문 확인 필요)

⚔️ 공격 벡터

공격자가 비활성화된 IDP를 대상으로 JWT Bearer 또는 SAML2 Bearer 그랜트 요청을 보내 유효한 액세스 토큰을 획득합니다.

🛡️ 대응 방법

벤더가 제공하는 최신 보안 패치를 적용하고, 토큰 발급 전 IDP의 활성 상태를 검증하도록 설정합니다.

🔧 검증 코드

응답 코드가 400 또는 401이면 요청이 거부된 것이며, 200이면 비활성 IDP 기반 토큰 발급이 가능할 수 있어 추가 점검이 필요합니다 (엔드포인트 주소는 환경에 맞게 수정 필요).

Shell / Script
curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8080/oauth2/token -d 'grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer' 2>/dev/null

📊 CVSS Vector String

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