인증 · 인가Authentication & authorization

CWE-287 부적절한 인증Improper Authentication

주장된 신원을 충분히 검증하지 않는 결함.A claimed identity is not sufficiently verified.

근본 원인 패턴Root-cause pattern

토큰 서명 미검증, 대체 경로(alternate path)로 인증 우회, 상태 머신 누락.Unverified token signatures, alternate paths that skip auth, missing state checks.

전형적인 패치Typical fix

중앙 인증 미들웨어, 서명·만료 검증, 모든 경로에 일관 적용.Central auth middleware; verify signature and expiry on every path.

2 편posts

  1. CVE-2026-138286 AutoCua Telegram 원격 제어가 "저장된 소유자 없음"을 "처음 메시지를 보낸 사람이 소유자"로 처리함AutoCua Telegram remote control treats "no owner saved" as "first caller becomes owner" AutoCua · CWE-287 부적절한 인증Improper Authentication 입문Intro 10.0
  2. CVE-2026-100397 Rucio가 SSH 챌린지 nonce를 베어러 인증 토큰으로 받아들임Rucio accepts SSH challenge nonces as bearer authentication tokens Rucio · CWE-287 부적절한 인증Improper Authentication 입문Intro 10.0

✎ CWE-287 퀴즈 풀기Quiz on CWE-287