vuln-intel취약점 정보 통합 DB

← 목록

CVE-2025-61152

위험도 중간 ASEC 언급 3건

우선순위 이 사이트의 참고 점수
8.01
위험도 CVSS 3.1 · 0~10점
6.5
악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
0.3%
공개일 NVD
2025-10-10

설명 NVD 원문

python-jose thru 3.3.0 allows JWT tokens with 'alg=none' to be decoded and accepted without any cryptographic signature verification. A malicious actor can craft a forged token with arbitrary claims (e.g., is_admin=true) and bypass authentication checks, leading to privilege escalation or unauthorized access in applications that rely on python-jose for token validation. This issue is exploitable unless developers explicitly reject 'alg=none' tokens, which is not enforced by the library. NOTE: all parties agree that the issue is not relevant because it only occurs in a "verify_signature": False situation.

위험도 세부 항목 CVSS 3.1

공격 경로
네트워크(원격) AV:N
공격 난이도
낮음(쉬움) AC:L
필요한 권한
없음(로그인 불필요) PR:N
사용자 행동 필요
필요 없음 UI:N
영향 범위
그 제품 안 S:U
정보 유출(기밀성)
낮음 C:L
데이터 변조(무결성)
낮음 I:L
서비스 중단(가용성)
없음 A:N

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

조치 방법 0행

수집된 조치 정보가 없습니다. 조치가 필요 없다는 뜻은 아닙니다.

살펴볼 장비 초안

분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.

단계별 판정 예시 환경

시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.

출처별 내용 3건

ASEC JWT 기반 인증의 그림자: 편리함 뒤에 숨은 치명적 위협 2025-12-16

원문 보기

개요 현대 웹 애플리케이션과 모바일 앱의 표준으로 자리 잡은 JWT는 stateless 인증의 편리함을 제공하지만, 안전하지 않게 운영 및 관리되는 경우 인증 체계 전체를 붕괴시킬 수 있는 단일 실패 지점(Single Point of Failure)이 될 수도 있다. 본 글은 JWT 개념과 인증 방식을 소개한 뒤, CVE 사례 중심으로 주요 취약점을 분석하고 이를 예방 및 완화하기 위한 실질적인 방어 전략을 제시한다. JSON Web Token (JWT) JWT는 웹 표준(RFC 7519)으로, JSON 객체를 사용하여 두 개체 간에 정보를 안전하게 전송하는 가볍고 자가-수용적인(compact and self-contained) 방식이다. 이 토큰은 모든 필수 정보를 자체적으로 담고 있어 서버에서 데이터베이스 조회 없이 토큰만으로 사용자 인증 및 권한 확인이 가능하다. 또한 무상태(stateless) 구조로 서버 측 세션의 저장 및 동기화 부담을 줄이고, HTTP 헤더나 URL 파라미터로 손쉽게 전달되어 분산 환경에서 확장과 전달이 용이하다는 점으로 인해 JWT는 현대 웹/마이크로서비스 환경의 핵심 인증 방식으로 자리 잡았다. 1) JWT의 구조 및 구성 요소 JWT는 Base64Url로 인코딩 된 세 부분(Header, Payload, Signature)이 마침표(.)로 구분되어 결합된 형태로 구성된다. [그림 1] JWT 구조 1. Header (헤더) : 메타 정보 헤더는 토큰의 메타 정보를 담고 있는 JSON 객체를 Base64Url로 인코딩한 부분이다. 필수적으로 typ (Type, 일반적으로 JWT) 및 alg (Algorithm, 서명에 사용된 암호화 알고리즘, 예: HS256, RS256) 클레임을 포함한다. { "alg": "HS256", // 서명 알고리즘 "typ": "JWT" // 토큰 타입 } 2. Payload (페이로드) : 클레임(Claim) 페이로드에는 전송하고자 하는 인증 정보, 권한 정보, 기타 속성 정보가 JSON 객체 형태로 포함되며 이를 클레임(Claim)이라고 부른다. 페이로드 역시 헤더와 마찬가지로 Base64Url로 인코딩된다. 클레임의 종류 클레임은 역할에 따라 Registered (표준 정의), Public (공개), Private (사설) 세 종류로 나뉜다. Registered Claims에는 토큰의 만료 시점(exp), 발급 시점(iat), 발급자(iss), 수신자(aud) 등 토큰의 유효성 검증에 활용되는 표준 필드를 포함한다. 보안 유의점 헤더와 페이로드는 암호화가 아닌 단순 인코딩이므로, 페이로드를 확보하면 손쉽게 디코딩하여 내용 파악이 가능하다. 따라서 페이로드에는 이메일, 결제 정보 등 민감한 개인 식별 정보(PII)를 포함해서는 안 된다. { "sub": "user123", // 사용자 ID "name": "John Doe", // 사용자 이름 "role": "admin", // 권한 "iat": 1516239022, // 발급 시각 "exp": 1516242622 // 만료 시각 } 3. Signature (서명) : 무결성 보장 서명은 토큰의 무결성(Integrity) 및 신뢰성(Authenticity)을 보장하는 핵심 요소다. 서명은 인코딩된 Header와 Payload, 그리고 서버가 보관하는 Secret Key(HS256) 또는 Private Key(RS256)를 결합해 지정된 알고리즘에 따른 암호학적 서명 연산으로 계산된다. 서버는 서명을 재계산하여 수신된 서명과 일치하는지 확인하며, 이를 통해 토큰의 위변조 여부를 판단한다. 비밀 서명 키를 모르는 공격자는 유효한 서명을 생성할 수 없다. HMACSHA256( base64UrlEncode(header) + "." + base64UrlEncode(payload), SECRET_KEY ) 2) 세션 기반 인증 방식과 JWT 인증 방식의 비교 세션 기반 인증 방식과 JWT 인증 방식의 차이는 [그림 2]의 도식 비교를 통해 확인할 수 있다. [그림 2] 세션 기반 인증 방식과 JWT 인증 방식 과정 비교 세션 기반 인증 방식 세션 기반의 인증 방식은 크게 네 가지의 단점을 지닌다. 서버가 세션 상태를 직접 관리해야 하는 Stateful 구조 서버 수평 확장 시 세션 공유(공동 세션 스토어, Sticky Session 등)가 필요 세션 저장소(DB, Redis 등)에 대한 추가 부하 및 운영 비용 발생 중앙 세션 저장소에 의존하기 때문에 마이크로서비스 및 분산 아키텍처에서 유연성이 떨어질 수 있음 JWT 인증 방식 반면 JWT 인증 방식은 세션 기반 인증의 단점을 어느 정도 해소한다. Stateless 구조로 별도의 세션 저장소 없이 서명 검증만으로 기본 인증이 가능 서버/인스턴스 간 세션 동기화가 필요 없어 수평 확장에 유리 각 서비스가 토큰을 직접 검증할 수 있어 마이크로서비스 아키텍처에 친화적 토큰에 사용자 식별자, 권한, 만료 시간 등을 포함하여 서버 상태에 대한 의존도를 줄임 주요 JWT 보안 취약점 JWT의 취약점은 주로 서명 검증 로직의 구현 오류나, 사용자가 조작 가능한 Header 파라미터를 서버가 무분별하게 신뢰할 때 발생한다. JWT의 핵심 장점인 Stateless 특성은 운영 설계가 미흡할 경우 역설적으로 치명적인 약점으로 작용할 수 있다. 전통적인 세션 방식은 서버에서 세션을 삭제할 경우 강제 로그아웃이 즉시 반영되지만, JWT는 클라이언트가 보관하므로 서버가 토큰을 즉시 회수하기 어렵고 별도의 철회 메커니즘이 없다면 만료 시점까지 유효할 수 있다. 특히 직원의 권한이 변경되거나 계정이 비활성화되더라도 이전에 발급된 JWT가 만료 전이라면 API 접근이 가능할 수 있다. 계정 탈취를 탐지해 비밀번호를 재설정하더라도 공격자가 이미 확보한 JWT는 만료 전까지 유효하게 남을 수 있다. 서명 키가 유출되면 공격자는 임의의 사용자로 가장하거나 권한을 상승시킨 토큰을 생성할 수 있다. 실제로 탈취된 서명 키를 이용해 인증 토큰을 위조하고 대량의 데이터 유출이 발생한 사례가 보고된 바 있다. 이처럼 위조 토큰이 서명 검증을 통과하면 서버 및 탐지 시스템은 이를 정상 요청으로 인식하고 처리할 수 있어, 탐지가 지연되는 상황이 발생할 수 있다. 1) 서명 무결성 검증 우회 취약점 1. HS/RS 알고리즘 혼동 취약점 (CVE-2015-9235) jsonwebtoken Node.js 4.2.2 미만 버전은 비대칭 알고리즘(RS/ES 계열)로 검증해야 하는 상황에서도 대칭 알고리즘(HS 계열)로 서명된 토큰을 받아들이는 알고리즘 혼동 문제가 존재한다. 공격자는 서버가 검증에 사용하는 공개키를 HMAC 비밀키처럼 악용해 임의의 페이로드로 토큰을 위조하고 인증을 우회하거나 권한을 상승시킬 수 있다. 2. alg=none 허용 취약점 (CVE-2021-22160 / CVE-2022-23540 / CVE-2025-61152) 일부 구현은 alg: “none”이 포함된 토큰에 대해 서명 검증을 수행하지 않거나, 검증 옵션 미지정 시 none을 사실상 허용하는 방식으로 동작해 서명 검증 우회를 유발한다. Apache Pulsar는 alg=none일 때 서명을 검증하지 않는 문제가 보고되었고, jsonwebtoken은 jwt.verify()에서 알고리즘을 명시하지 않을 때 none 기본 처리로 검증 우회가 가능했으며, python-jose는 alg=none 토큰을 서명 검증 없이 허용하는 문제가 보고되었다. 3. JWT 클레임 위변조 취약점 (CVE-2022-39227) python-jwt 3.3.4 이전 버전은 JWS Compact 직렬화와 JWS JSON 직렬화 처리 과정의 불일치로 인해 서명 검증이 통과한 값과 애플리케이션이 실제로 사용하는 클레임이 달라질 수 있다. 공격자는 비밀 키를 모르더라도 기존 토큰의 서명을 재사용하는 방식으로 클레임을 변조해 인증을 우회할 수 있으며, 해당 취약점은 CVSS 9.1점(Critical)으로 평가되었다. 2) 알고리즘 혼동 공격 1. json-web-token 라이브러리 취약점 (CVE-2023-48238) Node.js용 json-web-token 3.1.1 이전 버전은 검증에 사용할 알고리즘을 JWT 헤더의 alg 필드에서 추출하는 설계 결함이 있다. 서버가 RS256을 사용 중이고, 공격자가 공개키를 확보한 경우에 공격자는 alg를 HS256으로 설정하고 공개키를 HMAC 키처럼 사용하게 하여 개인 키 없이도 토큰을 위조할 수 있다. 2. cjwt 라이브러리 취약점 (CVE-2024-54150) C 기반 JWT 라이브러리 cjwt의 v2.2.0은 토큰 검증 과정에서 서명 방식(HMAC vs RS/EC/PS)을 엄격히 구분하지 못해 알고리즘 혼동(algorithm confusion)이 발생할 수 있다. 이로 인해 검증 로직이 토큰의 alg와 키 타입을 안전하게 강제하지 않는 구성에서는, 공격자가 공개키를 HMAC 키처럼 취급하게 만들어 개인키 없이도 위조 토큰이 검증을 통과하도록 유도할 수 있다. 해당 취약점은 v2.3.0에서 수정됐다. 3) 키 검색 매개변수 주입 공격 1. kid 파라미터 경로 순회 및 SQL 인젝션 서버가 kid 값을 파일 경로나 데이터베이스 조회 쿼리에 직접 연결해 사용하는 경우, 공격자는 경로 순회 문자열이나 SQL 구문을 주입하여 임의의 키를 선택하게 만들거나 키 조회 로직을 교란할 수 있다. 결과적으로 잘못된 키로 검증이 진행되거나, 키 저장소 정보 노출로 이어질 수 있다. 4) 키 관리 실패 취약점 1. 하드코딩된 비밀 키 (CVE-2025-7079 / CVE-2025-6950) 서명 키가 코드나 펌웨어에 하드코딩된 경우 공격자는 해당 값을 확보해 임의의 JWT를 위조하고 인증을 우회할 수 있다. CVE-2025-7079는 bluebell-plus의 jwt.go 파일에 ‘bluebell-plus’ 문자열이 하드코딩된 사례이며, CVE-2025-6950는 Moxa 네트워크 보안 장비 및 라우터에서 JWT 서명용 하드코딩 키 사용이 보고된 사례다. 2. iss 클레임 형식 위반 (CVE-2025-30144) fast-jwt 5.0.6 이전 RFC 7519 관점에서 문자열이어야 하는 iss 클레임에 문자열 배열을 허용하는 검증 결함이 존재한다. 공격자는 정상 발행자와 악성 발행자를 혼합한 iss 배열을 구성해 검증 로직을 우회할 수 있다. 3. 서명 키 회전 및 폐기 실패에 따른 내부자 악용 조직이 JWT 서명 키를 장기간 운영하면서 담당자 변경이나 권한 조정 시 키 회전 또는 폐기 절차를 수행하지 않으면, 유출된 키로 유효한 JWT가 지속적으로 생성될 수 있다. 서명이 정상 검증되는 한 서버와 관제는 이를 정상 트래픽으로 오인할 수 있어 탐지가 지연되고, 사고가 외부 신고나 조사 이후에 식별되는 상황이 발생할 수 있다. 탐지 및 방어 전략 내부 키 유출을 포함한 모든 JWT 공격 벡터에 대응하기 위해 서버 측 검증 로직을 강화하고, 실시간 침해 탐지 체계 구축이 필요하다. 1) 안전한 키 관리 시스템 구축 및 HS256 대체 전략 1. 하드웨어 보안 모듈 (HSM) 또는 클라우드 KMS 활용 서명 키 자료를 애플리케이션 서버의 파일 시스템이나 메모리에서 격리하는 것이 내부자 위협 대응의 핵심이다. 서명 키(비밀 키/개인 키)는 HSM(Hardware Security Module) 또는 클라우드 기반 KMS(Key Management Service)에 저장하고, 애플리케이션 서버는 키 값을 직접 취급하지 않고 서명 연산 API를 호출하는 방식으로 사용해야 한다. 이는 내부자가 서버에 접근하더라도 키 자료를 획득하는 것을 물리적으로 차단한다. 2. 비대칭키(RS256)로의 전환 및 Key Rotation 내부자 위협과 키 노출 리스크를 낮추기 위해 대칭키(HS256) 단일 공유 구조보다 개인 키·공개 키 구조의 비대칭키(RS256) 사용을 우선 고려해야 한다. 개인 키는 HSM/KMS 내부에 보관되고, 공개 키는 외부에 배포될 수 있으나 개인 키의 기밀성이 유지되는 한, 공격자가 유효한 토큰을 위조할 수 없다. 또한 침해 가능성을 전제로 키 수명과 교체 주기를 정의하고, 주기적으로 키를 회전 및 폐기하는 운영 절차를 마련해야 한다. 2) 서버 측 엄격한 토큰 검증 구현 JWT 라이브러리를 사용하더라도, 개발자는 표준 스펙에서 허용하는 모든 잠재적 위험을 명시적으로 차단해야 한다. 1. 알고리즘 화이트리스트 강제화 JWT 검증 시, 서버가 허용하는 알고리즘(예: RS256)을 라이브러리에 명시적으로 고정해야 한다. 이는 alg=none 같은 안전하지 않은 알고리즘의 수용을 차단하고, 알고리즘 혼동 공격 시도를 무력화한다. 2. Critical Claims에 대한 Strict Validation exp (만료 시간), iss (발급자), aud (수신자) 등 표준 클레임에 대한 검증을 누락 없이 수행하도록 한다. Access Token을 수신할 때 exp 유효성 검증을 통해 만료된 토큰 사용을 차단해야 한다. 3. 키 참조 매개변수 방어 kid, jku, jwk 같은 동적 키 참조 메커니즘은 주입 공격 벡터를 제공하므로, 사용을 지양해야 한다. 불가피하게 사용해야 할 경우, kid 값에 대해 Path Traversal 패턴 및 SQL Injection 패턴을 포함한 강력한 입력 필터링(화이트리스트 기반)을 적용할 것을 권고한다. 3) 토큰 수명 관리 및 무효화 전략 1. Access Token의 수명 관리 Access Token은 탈취 시 피해 범위(Blast Radius)를 최소화하기 위해 수 분 이내의 짧은 수명(exp)으로 발행해야 한다. 장기적인 세션 유지는 Refresh Token으로 분리하고, Refresh Token에는 재사용 방지를 위한 회전(Rotation)과 일회성 사용 같은 정책을 적용하는 구성이 권장된다. 2. 실시간 토큰 무효화(Revocation) 시스템 키 유출이나 강제 로그아웃 발생 시, 즉각적인 토큰 무효화를 위한 중앙 집중식 Revocation List를 구축한다. 각 API 요청은 토큰의 jti 클레임을 기준으로 Revocation List를 조회해, 목록에 존재하면 요청을 차단한다. Revocation List 항목은 토큰의 만료 시점(exp)까지 TTL로 자동 만료되도록 관리한다. 4) 침해 탐지 및 모니터링 체계 1. 상세 로깅 및 SIEM 연동 JWT 검증 실패 이벤트(Invalid Signature, Algorithm Mismatch, Claim Errors 등)를 상세히 기록하고, 이를 중앙 집중식 SIEM 시스템에 연동한다. 2. 이상 징후 자동 탐지 시스템 구축 단기간 내에 동일한 토큰의 과도한 API 호출(Replay Attack 시도)이나, 지리적으로 비정상적인 접근 분포 또는 토큰 만료 시간(exp)이 비정상적으로 긴 토큰이 유입되는 경우 등 이상 징후를 감지하고 즉각적인 경보를 발생시켜 추가 피해를 막도록 한다. 결론 JWT 기반 인증 시스템의 보안 실패는 곧 기업의 핵심 자산에 대한 광범위한 침해로 이어질 수 있다. 특히 서명 키 관리 실패는 인증 체계 전반을 무력화하는 고위험 단일 실패 지점으로 격상될 수 있다. 따라서 서명 키를 HSM 또는 KMS 내부에 격리하고, 비대칭키 기반(RS256) 전환과 키 회전 정책을 최우선 과제로 설정해야 한다. 동시에 알고리즘 고정, 핵심 클레임 검증, 키 참조 입력 방어를 포함한 엄격한 검증 로직을 구현해 공격 성공 가능성을 사전에 낮춰야 한다. 마지막으로 로그 기반 탐지와 이상 징후 자동화를 결합해 침해 징후를 조기에 식별하고 피해를 최소화하는 운영 체계 구축을 권고한다. 출처 Auth0 – JSON Web Tokens, https://auth0.com/docs/secure/tokens/json-web-tokens OWASP – JSON Web Token for Java Cheat Sheet, https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_for_Java_Cheat_Sheet.html PortSwigger Web Security Academy – JWT attacks, https://portswigger.net/web-security/jwt CVE-2015-9235 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2015-9235 CVE-2021-22160 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2021-22160 CVE-2022-23540 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2022-23540 CVE-2022-39227 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2022-39227 CVE-2023-48238 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2023-48238 CVE-2024-54150 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2024-54150 CVE-2025-30144 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-30144 CVE-2025-61152 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-61152 CVE-2025-6950 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-6950 CVE-2025-7079 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-7079 AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.

ASEC 영어·일본어 등 다른 언어 글 2건
ASEC JWT ベースの認証の影: 利便性の裏に隠れた致命的な脅威 2025-12-19

원문 보기

概要 現代の Web アプリケーションとモバイルアプリのスタンダードとして定着した JWT は stateless 認証の利便性を提供するが、安全でない方法で運用および管理される場合、認証システム全体を崩壊させることがある単一障害点(Single Point of Failure)となることもある。本記事では JWT の概念と認証方式を紹介した後、CVE 事例を中心に主要な脆弱性を解析し、これを予防および緩和するための実質的な防御戦略を提示する。 JSON Web Token (JWT) JWT は Web 標準(RFC 7519)であり、JSON オブジェクトを使用して二つのエンティティ間で情報を安全に送信する軽量かつ自己完結的(compact and self-contained)な方式である。このトークンはすべての必須情報を自らに保持しており、サーバーでデータベースを照会することなくトークンだけでユーザー認証および権限確認が可能である。また、ステートレス(stateless)な構造によりサーバー側のセッションの保存および同期の負担を軽減し、HTTP ヘッダーや URL パラメーターで簡単に伝達されるため、分散環境での拡張や伝達が容易であるという点から、JWT は現代の Web/Microservices 環境の主要な認証方式として定着した。 1) JWT の構造および構成要素 JWT は Base64Url でエンコードされた三つの部分(Header、Payload、Signature)がピリオド(.)で区切られ、結合された形式で構成される。 [図1] JWT 構造 1. Header(ヘッダー):メタ情報 ヘッダーはトークンのメタ情報を保持している JSON オブジェクトを Base64Url でエンコードした部分である。必須で typ(Type、一般的に JWT)および alg(Algorithm、署名に使用された暗号化アルゴリズム、例: HS256、RS256)のクレームを含む。 { "alg": "HS256", // 署名アルゴリズム "typ": "JWT" // トークンタイプ } 2. Payload (ペイロード) : クレーム(Claim) ペイロードには、送信する認証情報、権限情報、その他の属性情報が JSON オブジェクト形式で含まれ、これをクレーム(Claim)と呼ぶ。ペイロードもまた、ヘッダーと同様に Base64Url でエンコードされる。 クレームの種類クレーム クレームの種類クレームは役割によって Registered (標準定義)、Public (公開)、Private (プライベート)の3種類に分かれる。Registered Claims には、トークンの有効期限(exp)、発行時刻(iat)、発行者(iss)、受信者(aud)等、トークンの有効性検証に活用される標準フィールドを含む。 セキュリティの注意点 ヘッダーとペイロードは暗号化ではなく単純なエンコードであるため、ペイロードを確保すると容易にデコードして内容を把握することができる。そのため、ペイロードには電子メール、決済情報等、センシティブな個人識別情報(PII)を含めてはならない。 { "sub": "user123", // ユーザー ID "name": "John Doe", // ユーザー名 "role": "admin", // 権限 "iat": 1516239022, // 発行時間 "exp": 1516242622 // 有効期限 } 3. Signature (署名) : 完全性保証 署名は、トークンの完全性(Integrity)および信頼性(Authenticity)を保証するキーハイブ要素である。署名は、エンコードされた Header と Payload、そしてサーバーが保管する Secret Key(HS256) または Private Key(RS256)を結合し、指定されたアルゴリズムに従った暗号学的署名演算で計算される。サーバーは署名を再計算して受信された署名と一致するかどうかを確認し、これによってトークンの改ざんの有無を判断する。秘密署名キーを知らない攻撃者は、有効な署名を生成することができない。 HMACSHA256( base64UrlEncode(header) + "." + base64UrlEncode(payload), SECRET_KEY ) 2) セッションベースの認証方式と JWT 認証方式の比較 セッションベースの認証方式と JWT 認証方式の違いは、[図2]の図式比較を通して確認できる。 [図2] セッションベースの認証方式と JWT 認証方式のプロセス比較 セッションベースの認証方式 セッションベースの認証方式は主に4つの欠点を抱えている。 サーバーがセッション状態を直接管理しなければならない Stateful 構造 サーバーの水平拡張時にセッション共有(共同セッションストア、Sticky Session 等)が必要 セッションストレージ(DB、Redis 等)に対する追加負荷および運用コスト発生 中央セッションストレージに依存するためマイクロサービスおよび分散アーキテクチャにおいて柔軟性が低下する可能性がある JWT 認証方式 それに対し、JWT 認証方式はセッションベースの認証の欠点をある程度解消する。 Stateless 構造で、別途のセッションストレージなしに署名検証のみで基本認証が可能 サーバー/インスタンス間でセッションの同期が必要なく、水平拡張に有利 各サービスがトークンを直接検証できるため、マイクロサービスアーキテクチャに親和的 トークンにユーザー識別子、権限、期限などを含め、サーバー状態への依存度を減らす 主要 JWT セキュリティ脆弱性 JWT の脆弱性は主に、署名検証ロジックの実装エラーや、ユーザーが操作できる Header パラメータをサーバーが無分別に信頼する時に発生する。JWT の核心の利点である Stateless 特性は、運用設計が不十分な場合、逆に致命的な弱点として作用することがある。伝統的なセッション方式はサーバーでセッションを削除する場合、強制ログアウトが即時反映されるが、JWT はクライアントが保持するため、サーバーがトークンを即時回収するのが困難で、別途の取り消しメカニズムがない場合、期限時点まで有効な場合がある。特に、社員の権限が変更やアカウントが非アクティブ化されても、以前に発行された JWT が期限前であれば API アクセスが可能になる場合がある。アカウントの奪取を検知し、パスワードを再設定しても攻撃者がすでに確保した JWT は、期限前まで有効なままとなる場合がある。 署名キーが流出すると、攻撃者は任意のユーザーに成りすますや、権限を昇級させたトークンを生成することができる。実際に流出した署名キーを利用して認証トークンを偽造し、大規模なデータ流出が発生した事例が報告された。このように、偽造トークンが署名検証を通過すると、サーバーおよび検知システムはこれを正常なリクエストとして認識し、処理することができるため、検知が遅延する状況が発生する場合がある。 1) 署名の完全性検証回避脆弱性 1. HS/RS アルゴリズム混同脆弱性(CVE-2015-9235) jsonwebtoken Node.js 4.2.2 未満バージョンは、非対称アルゴリズム(RS/ES 系列)で検証しなければならない状況でも、対称アルゴリズム(HS 系列)で署名されたトークンを受け入れるアルゴリズム混同問題が存在する。攻撃者は、サーバーが検証に使用する公開キーを HMAC 秘密キーのように悪用し、任意のペイロードでトークンを偽造して、認証をバイパスや、権限を昇級させることができる。 2. alg=none 許可脆弱性(CVE-2021-22160/CVE-2022-23540/CVE-2025-61152) 一部の実装は、alg: “none”が含まれているトークンに対して署名検証を実行せず、検証オプション未指定時に none を事実上許容する方式で動作し、署名検証の回避を誘発する。Apache Pulsar は alg=none の時、署名を検証しない問題が報告され、jsonwebtoken は jwt.verify()でアルゴリズムを明示しない時、none をデフォルト処理で検証の回避が可能になり、python-jose は alg=none のトークンを署名検証なしに許可する問題が報告された。 3. JWT クレーム改ざん脆弱性(CVE-2022-39227) python-jwt 3.3.4 未満バージョンは、JWS Compact シリアライゼーションと JWS JSON シリアライゼーションの処理過程の不一致により、署名検証に通過した値とアプリケーションが実際に使用するクレームが異なる場合がある。攻撃者は、秘密キーを知らなくても既存のトークンの署名を再利用する方式でクレームを改ざんし、認証を回避することができ、当該脆弱性は CVSS 9.1 点(Critical)で評価された。 2) アルゴリズム混同攻撃 1. json-web-token ライブラリの脆弱性(CVE-2023-48238) Node.js 用 json-web-token 3.1.1 未満バージョンは、検証に使用するアルゴリズムを JWT ヘッダーの alg フィールドから抽出する設計欠陥がある。サーバーが RS256 を使用中で、攻撃者が公開キーを確保した場合、攻撃者は alg を HS256 に設定し、公開キーを HMAC キーのように使用させることで、秘密キーなしでもトークンを偽造することができる。 2. cjwt ライブラリの脆弱性(CVE-2024-54150) C ベースの JWT ライブラリ cjwt の v2.2.0 は、トークン検証プロセスにおいて署名方式(HMAC vs RS/EC/PS)を厳格に区分できず、アルゴリズム混同(algorithm confusion)が発生する可能性がある。これにより、検証ロジックがトークンの alg とキータイプを安全に強制しない構成では、攻撃者が公開鍵を HMAC キーのように扱わせることで、秘密キーなしでも偽造トークンの検証を通過させるように誘導できる。本脆弱性は v2.3.0 で修正された。 3) キー検索メソッドパラメータ注入攻撃 1. kid パラメータのパス遍歴および SQL インジェクション サーバーが kid 値をファイルパスやデータベース検索クエリに直接接続して使用する場合、攻撃者はパス遍歴文字列や SQL 文を注入し、任意のキーを選択させたり、キー検索ロジックを攪乱したりすることができる。結果的に、誤ったキーで検証が行われるか、キーの保存所情報の漏洩につながる可能性がある。 4) キー管理失敗の脆弱性 1. ハードコーディングされた秘密キー (CVE-2025-7079 / CVE-2025-6950) 署名キーがコードやファームウェアにハードコーディングされている場合、攻撃者はその値を確保して任意の JWT を偽造し、認証をバイパスすることができる。CVE-2025-7079 は bluebell-plus の jwt.go ファイルに「bluebell-plus」文字列がハードコーディングされた事例であり、CVE-2025-6950 は Moxa ネットワークセキュリティ機器およびルーターで JWT 署名用ハードコーディングキー使用が報告された事例である。 2. iss クレーム形式違反 (CVE-2025-30144) fast-jwt 5.0.6 未満には RFC 7519 の観点から文字列である必要がある iss クレームに文字列配列を許容する検証欠陥が存在する。攻撃者は正常な発行者と不正な発行者を混合させた iss 配列を構成し、検証ロジックを回避することができる。 3. 署名キーのローテーションおよび廃棄失敗によるインサイダー悪用 組織が JWT 署名キーを長期間運用し、担当者の変更や権限調整の際にキーのローテーションまたは廃棄手続きを実行しないと、流出したキーで有効な JWT が生成され続ける可能性がある。署名が正常に検証されると1つのサーバーと監視は、これを正常なトラフィックと誤認することがあり、検知が遅延して事故が外部からの通報や調査後に識別される状況が発生することもある。 検知および防御戦略 内部キーの流出を含むすべての JWT 攻撃ベクターに対応するため、サーバー側の検証ロジックを強化し、リアルタイム侵害検知システムの構築が必要である。 1) 安全なキー管理システムの構築および HS256 代替戦略 1. ハードウェアセキュリティモジュール(HSM)またはクラウド KMS を活用 署名キー資料をアプリケーションサーバーのファイルシステムやメモリから隔離することが、内部者脅威への対応の鍵である。署名キー(秘密キー/プライベートキー)は HSM(Hardware Security Module) またはクラウドベース KMS(Key Management Service) に保存し、アプリケーションサーバーはキー値を直接取り扱わず、署名演算 API を呼び出す方式で使用する必要がある。これは、内部者がサーバーにアクセスしてもキー資料の取得を物理的に遮断する。 2. 非対称キー(RS256)への移行および Key Rotation 内部者脅威とキー露出リスクを低下させるため、対称キー(HS256)の単一共有構造よりもプライベートキー・パブリックキー構造の非対称キー(RS256)の使用を優先して考慮しなければならない。プライベートキーは HSM/KMS 内部に保管され、パブリックキーは外部に配布される可能性があるが、プライベートキーの機密性が維持されている限り、攻撃者が有効なトークンを偽造することはできない。また、侵害される可能性を前提にキーの寿命と交換周期を定義し、定期的にキーをローテーションおよび廃棄する運用手順を整備する必要がある。 2) サーバー側の厳格なトークン検証の実装 JWT ライブラリを使用しても、開発者は標準スペックで許可されているすべての潜在的リスクを明示的に遮断する必要がある。 1. アルゴリズムホワイトリストの強制化 JWT 検証時、サーバーが許可するアルゴリズム(例: RS256)をライブラリに明示的に固定する必要がある。これは、alg=none のような安全でないアルゴリズムの受容を遮断し、アルゴリズム混同攻撃の試みを無力化する。 2. Critical Claims에 대한 Strict Validation2. Critical Claims に対する Strict Validation exp(有効期限)、iss(発行者)、aud(受信者)等、標準クレームに対する検証を漏れなく実行する必要がある。Access Token を受信する際、exp の有効性検証によって期限切れトークンの使用を遮断しなければならない。 3. キー参照パラメータの防御 kid、jku、jwk のような動的キー参照メカニズムは、インジェクション攻撃のベクターを提供するため、使用を避ける必要がある。避けられない場合は使用する必要があるが、kid 値に対して Path Traversal パターンおよび SQL Injection パターンを含んだ強力な入力フィルタリング(ホワイトリストベース)を適用することを勧告する。 3) トークンの寿命管理および無効化戦略 1. Access Token の寿命管理 Access Token は、窃取された場合の被害範囲(Blast Radius)を最小化するために数分以内の短い寿命(exp)で発行する必要がある。長期的なセッションの維持は Refresh Token で分離し、Refresh Token には再利用防止のためのローテーション(Rotation)と一度きりの使用のようなポリシーを適用する構成が推奨される。 2. リアルタイムトークン無効化(Revocation)システム キー流出や強制ログアウト発生時、即時のトークン無効化のため中央集権式 Revocation List を構築する。各 API リクエストはトークンの jti クレームを基に Revocation List を照会し、一覧に存在する場合はリクエストを遮断する。Revocation List の項目はトークンの有効期限(exp)まで TTL によって自動で期限切れとなるように管理する。 4) 侵害検知およびモニタリング体系 1. 詳細ロギングおよび SIEM 統合 JWT 検証失敗イベント(Invalid Signature、Algorithm Mismatch、Claim Errors 等)を詳細に記録し、これを中央集権式 SIEM システムに統合する。 2. 異常兆候自動検知システムの構築 短期間に同じトークンの過度な API 呼び出し(Replay Attack の試み)や、地理的に異常なアクセス分布、またはトークンの有効期限(exp)が異常に長いトークンが流入する場合など、異常兆候を検知し、即時の警報を発生させてさらなる被害を防ぐようにする。 結論 JWT ベースの認証システムのセキュリティ失敗は、企業のコア資産に対する広範な侵害へと繋がる可能性がある。特に署名キーの管理失敗は、認証システム全般を無力化する高リスクな単一障害地点へと昇華する可能性がある。そのため、署名キーを HSM または KMS 内部に隔離し、非対称キーベース(RS256)の転換とキーローテーションポリシーを最優先課題として設定する必要がある。同時に、アルゴリズム固定、コアクレーム検証、キー参照入力防御を含んだ厳格な検証ロジックを実装し、攻撃の成功可能性を事前に低下させなければならない。最後に、ログベースの検知と異常兆候の自動化を結合し、侵害の兆候を早期に識別して被害を最小限に抑える運用システムの構築を推奨する。 出所 Auth0 – JSON Web Tokens, https://auth0.com/docs/secure/tokens/json-web-tokens OWASP – JSON Web Token for Java Cheat Sheet, https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_for_Java_Cheat_Sheet.html PortSwigger Web Security Academy – JWT attacks, https://portswigger.net/web-security/jwt CVE-2015-9235 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2015-9235 CVE-2021-22160 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2021-22160 CVE-2022-23540 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2022-23540 CVE-2022-39227 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2022-39227 CVE-2023-48238 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2023-48238 CVE-2024-54150 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2024-54150 CVE-2025-30144 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-30144 CVE-2025-61152 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-61152 CVE-2025-6950 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-6950 CVE-2025-7079 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-7079 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム 「 AhnLab TIP 」 サブスクリプションサービスを通して確認できる。

ASEC The Shadow of JWT-Based Authentication: A Fatal Threat Behind the Convenience 2025-12-16

원문 보기

Overview JWT, which has become the standard for modern web applications and mobile apps, provides the convenience of stateless authentication. However, when operated and managed unsafely, it can become a single point of failure that collapses the entire authentication system. This post introduces the concept and authentication methods of JWT, analyzes its key vulnerabilities based on CVE cases, and suggests practical defense strategies for prevention and mitigation. JSON Web Token (JWT) JWT is a web standard (RFC 7519) that securely transmits information between two parties in a compact and self-contained manner using a JSON object. This token contains all the required information within itself, allowing user authentication and authorization to be performed using the token without requiring a database query on the server. In addition, its stateless structure reduces the burden of storing and synchronizing server-side sessions, and its ease of transmission through HTTP headers or URL parameters makes it easy to scale and transmit in a distributed environment. For these reasons, JWT has become a key authentication method in modern web and microservice environments. 1) Structure and Components of JWT JWT is composed of three parts (Header, Payload, Signature) encoded in Base64Url and combined with periods (.). Figure 1. Structure of JWT 1. Header: Metadata The header is the part that contains the token’s metadata in a JSON object encoded with Base64Url. It must include the typ (Type, typically JWT) and alg (Algorithm, encryption algorithm used for the signature, e.g., HS256, RS256) claims. { "alg": "HS256", // Signature algorithm "typ": "JWT" // Token type } 2. Payload: Claims The payload includes authentication credentials, authorization information, and other claims in a JSON object that is to be transmitted. Like the header, the payload is also encoded with Base64Url. Types of Claims Claims are classified into three types based on their roles: Registered (standard), Public, and Private. Registered claims include standard fields that are used to validate the token’s validity, such as the expiration time (exp), issuance time (iat), issuer (iss), and audience (aud). Security Considerations Since the header and payload are encoded and not encrypted, it is easy to decode the payload if it is obtained. Therefore, the payload should not include sensitive personally identifiable information (PII) such as emails and payment details. { "sub": "user123", // User ID "name": "John Doe", // User name "role": "admin", // Role "iat": 1516239022, // Issued at "exp": 1516242622 // Expiration time } 3. Signature: Ensuring Integrity The signature is a key element that ensures the token’s integrity and authenticity. The signature is calculated through a cryptographic operation based on the encoded header and payload, and the secret key (HS256) or private key (RS256) stored on the server. The server recalculates the signature and checks if it matches the received signature to determine if the token has been tampered with. Attackers who do not know the secret key cannot generate a valid signature. HMACSHA256( base64UrlEncode(header) + "." + base64UrlEncode(payload), SECRET_KEY ) 2) Comparison of Session-Based Authentication and JWT Authentication The differences between session-based and JWT authentication can be identified through the diagram shown in Figure 2. Figure 2. Comparison of the session-based authentication and JWT authentication processes Session-Based Authentication Session-based authentication has four major disadvantages: Stateful structure requiring the server to directly manage session state Session sharing (common session store, sticky session, etc.) is required when scaling out servers Additional load and operating costs occur for the session store (DB, Redis, etc.) It may lose flexibility in a microservices or distributed architecture because it relies on a central session store JWT Authentication On the other hand, JWT authentication somewhat alleviates the disadvantages of session-based authentication: Stateless structure allowing basic authentication through signature verification without a separate session store It is advantageous for scaling out because it does not require session synchronization between servers/instances It is microservices-friendly because each service can directly validate tokens It reduces the server’s dependency on the server state by including user identifiers, permissions, and expiration times in the token Main JWT security vulnerabilities The vulnerability of JWTs mainly occurs when the server trusts the header parameters that the user can manipulate. The key advantage of JWT, its statelessness, can actually become a critical weakness if the operational design is inadequate. In traditional session-based authentication, when a server deletes a session, the user is immediately logged out. However, with JWT, since the token is stored on the client side, it is difficult for the server to immediately revoke the token. Unless there is a separate revocation mechanism, the token can remain valid until it expires. This means that even if a user’s permissions are changed or their account is deactivated, if the previously issued JWT is still valid, the user may still be able to access the API. Even if the user detects the account takeover and resets the password, the attacker can still use the JWT that they have obtained to access the API. If a signature key is leaked, an attacker can impersonate any user or create a token with escalated privileges. There have been reported cases where a breach of a signature key was used to forge an authentication token, leading to a massive data breach. If a forged token passes the signature verification, the server and detection system will treat it as a legitimate request and process it accordingly, causing a delay in detection. 1) Bypassing Signature Integrity Check 1. HS/RS Algorithm Confusion Vulnerability (CVE-2015-9235) The jsonwebtoken library for Node.js versions before 4.2.2 has an algorithm confusion vulnerability. It accepts tokens signed with HMAC algorithms (HS) even when it should be validating tokens signed with RSA or ECDSA algorithms (RS). An attacker can exploit this vulnerability by using the server’s public key as an HMAC secret key to sign a token with an arbitrary payload. This allows the attacker to bypass authentication or escalate their privileges. 2. alg=none Allowance Vulnerability (CVE-2021-22160 / CVE-2022-23540 / CVE-2025-61152) Some implementations do not perform signature verification on tokens that contain alg: “none” in the header, or they treat an unspecified verification option as none. This allows attackers to bypass signature verification. An issue was reported where Apache Pulsar did not perform signature verification on tokens with alg=none. The jsonwebtoken library allowed signature verification to be bypassed by treating none as the default when the algorithm was not specified in jwt.verify(). The python-jose library was reported to allow tokens with alg=none to bypass signature verification. 3. JWT Claim Tampering Vulnerability (CVE-2022-39227) python-jwt before version 3.3.4 has a vulnerability where the JWS JSON serialization and JWS compact serialization processes do not match, which can result in the values that pass signature verification being different from the actual claims used by the application. An attacker can exploit this vulnerability by using the stolen secret key to reuse the signature from a legitimate token and tamper with the claims to bypass authentication. This vulnerability has been rated as a CVSS score of 9.1 (Critical). 2) Algorithm Confusion Attack 1. json-web-token Library Vulnerability (CVE-2023-48238) The json-web-token library for Node.js versions before 3.1.1 has a design flaw that allows the algorithm used for validation to be extracted from the alg field in the JWT header. If a server is using RS256 and an attacker obtains the public key, they can set the alg to HS256 and use the public key as an HMAC key to sign a token without needing a private key. 2. cjwt Library Vulnerability (CVE-2024-54150) In version 2.2.0 of the C-based JWT library cjwt, the signature scheme (HMAC vs. RS/EC/PS) is not strictly distinguished during the token verification process, potentially leading to algorithm confusion. As a result, in configurations where the validation logic does not safely enforce the alg and key type of the token, threat actors may treat the public key as an HMAC key and coerce the validation process to pass without a private key, allowing them to forge tokens. This vulnerability has been patched in version 2.3.0. 3) Key Search Parameter Injection 1. Traversing the path of the kid parameter and SQL injection If the server directly uses the kid value in a file path or a database query, threat actors can inject path traversal strings such as /dev/null or SQL statements to select an arbitrary key or disrupt the key lookup logic. As a result, the verification can be performed with the wrong key, leading to the exposure of key storage information. 4) Vulnerability of Key Management Failure 1. Hardcoded Secret Key (CVE-2025-7079 / CVE-2025-6950) If the private key is hard-coded in the code or firmware, threat actors can obtain the value to forge an arbitrary JWT and bypass authentication. CVE-2025-7079 is a case where the ‘bluebell-plus’ string is hard-coded in the jwt.go file of bluebell-plus, and CVE-2025-6950 is a case where the use of a hard-coded key for JWT signature was reported in Moxa network security devices and routers. 2. Violation of iss Claim Form (CVE-2025-30144) fast-jwt before 5.0.6 has a validation flaw allowing string arrays in the iss claim, which should be a string from the perspective of RFC 7519. An attacker can bypass the validation logic by creating an iss array that combines legitimate and malicious issuers. 3. Insider Abuse Due to Failure in Rotating and Disposing of Signing Keys If an organization operates a JWT signature key for a long time without performing key rotation or disposal procedures when a manager is changed or permissions are adjusted, valid JWTs can continue to be created using the leaked key. As long as the signature is verified correctly, the server and security system may mistake this for normal traffic, causing a delay in detection and resulting in the incident being identified only after an external report or investigation. Detection and Defense Strategies To respond to all JWT attack vectors, including internal key leakage, it is necessary to strengthen server-side validation logic and establish a real-time breach detection system. 1) Building a Secure Key Management System and Strategy to Replace HS256 1. Using Hardware Security Module (HSM) or Cloud KMS A key aspect of countering insider threats is isolating the signature key data from the application server’s file system or memory. The signature key (secret key/private key) must be stored in an HSM (Hardware Security Module) or a cloud-based KMS (Key Management Service), and the application server must not handle the key value directly, instead using it by calling the signature operation API. This physically blocks insiders from gaining access to the key data even if they access the server. 2. Transition to Asymmetric Keys (RS256) and Key Rotation To mitigate insider threats and reduce the risk of key exposure, the use of asymmetric keys (RS256) in a private key/public key structure should be given priority over the use of symmetric keys in a single shared structure (HS256). The private key is stored in the HSM/KMS, and the public key can be distributed externally. As long as the confidentiality of the private key is maintained, threat actors cannot forge valid tokens. Furthermore, operating procedures must be established based on the assumption that a breach is possible, defining the key’s lifespan and replacement cycle and regularly rotating and disposing of keys. 2) Implementing Strict Token Verification on the Server Side Even when using a JWT library, developers must explicitly block all potential risks allowed by the standard specification. 1. Enforcing an Algorithm Whitelist When validating JWT, the algorithm allowed by the server (e.g., RS256) must be explicitly fixed in the library. This blocks the acceptance of unsafe algorithms like alg=none and neutralizes algorithm confusion attacks. 2. Strict Validation of Critical Claims Perform validation for standard claims such as exp (expiration time), iss (issuer), and aud (audience) without any omissions. When receiving an Access Token, the expiration time must be validated to block the use of expired tokens. 3. Defense of Key Reference Parameters Dynamic key reference mechanisms such as kid, jku, and jwk provide injection attack vectors, so their use should be avoided. If their use is unavoidable, it is recommended to apply strong input filtering (whitelist-based) that includes path traversal and SQL injection patterns to the kid value. 3) Token Lifespan Management and Invalidation Strategies 1. Access Token Lifespan Management Access Tokens should be issued with a short lifespan (expiring within a few minutes) to minimize the blast radius in case of a breach. Long-term session management should be separated using Refresh Tokens, and policies such as rotation and one-time use should be applied to the Refresh Tokens to prevent reuse. 2. Real-time Token Revocation System A centralized Revocation List is established for immediate token invalidation in cases of key leakage or forced logout. Each API request queries the Revocation List based on the jti claim of the token, and blocks the request if it is found in the list. Revocation List items are automatically expired with TTL until the expiration time (exp) of the token. 4) Breach Detection and Monitoring System 1. Detailed Logging and SIEM Integration Record JWT verification failure events (Invalid Signature, Algorithm Mismatch, Claim Errors, etc.) in detail and integrate them with a centralized SIEM system. 2. Suspicious Sign Detection System Detect suspicious signs, such as excessive API calls with the same token in a short period of time (replay attack attempts), abnormal access distribution geographically, or tokens with an unusually long expiration time (exp), and generate immediate alerts to prevent further damage. Conclusion The security breach of a JWT-based authentication system can lead to a wide range of breaches against a company’s core assets. In particular, a failure in managing the signing key can elevate the breach to a high-risk single point of failure that disables the entire authentication system. Therefore, it is crucial to isolate the signing key within an HSM or KMS and prioritize tasks such as transitioning to an asymmetric key (RS256) and implementing key rotation policies. Strict verification logic must also be implemented, which includes algorithm locking, core claim verification, and key reference input defense, to reduce the possibility of a successful attack. Lastly, it is recommended to build an operational system that combines log-based detection with anomaly sign automation to identify breach signs early and minimize the damage. Source Auth0 – JSON Web Tokens, https://auth0.com/docs/secure/tokens/json-web-tokens OWASP – JSON Web Token for Java Cheat Sheet, https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_for_Java_Cheat_Sheet.html PortSwigger Web Security Academy – JWT attacks, https://portswigger.net/web-security/jwt CVE-2015-9235 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2015-9235 CVE-2021-22160 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2021-22160 CVE-2022-23540 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2022-23540 CVE-2022-39227 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2022-39227 CVE-2023-48238 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2023-48238 CVE-2024-54150 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2024-54150 CVE-2025-30144 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-30144 CVE-2025-61152 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-61152 CVE-2025-6950 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-6950 CVE-2025-7079 Detail – NVD, https://nvd.nist.gov/vuln/detail/CVE-2025-7079 Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.

자동 추천 장비와 근거 참고용

분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.

장비방법근거 경로
서버 접근제어 ACCESS attackCWE-269 > CAPEC-122 > T1548 > Logon Session Metadata
엔드포인트 탐지·대응 EDR attackCWE-269 > CAPEC-122 > T1548 > File Metadata
계정·인증 (AD·LDAP·SSO) IAM attackCWE-269 > CAPEC-122 > T1548 > Logon Session Metadata
서버 감사 로그 SYSAUDIT attackCWE-269 > CAPEC-122 > T1548 > File Metadata

취약점 종류 CWE

참고 링크 3건
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
CVE 취약점 번호
공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
CVSS 위험도 점수
취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
EPSS 악용 가능성
앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
KEV 실제 악용 확인
미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
공격 코드 공개된 PoC
NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
NVD 미국 취약점 DB
미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
우선순위 이 사이트의 참고 점수
CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
ASEC 안랩 분석 글
안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
CWE 취약점 종류
취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
CPE 영향받는 제품
취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
KB Microsoft 업데이트 번호
Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
시나리오 · 번역
'시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.