🔍 CVE-2021-36368

3.7
CVSS Score
LOW
2022-03-13
2026-06-17 03:58
✅ 완료

🇰🇷 한글 설명

OpenSSH 8.9 이전 버전에서 에이전트 포워딩을 사용하는 공개키 인증 시 발생하는 문제입니다. 공격자가 서버를 조작하여 None 인증 옵션을 지원하도록 만들 경우, 사용자는 현재 FIDO 인증이 대상 서버 접속을 위한 것인지 아니면 다른 서버로의 대리 접속을 허용하는 것인지 구분할 수 없습니다.

💡 쉬운 설명

사용자가 서버에 접속할 때 보안 키(FIDO)를 사용하는데, 가짜 서버가 사용자를 속여서 다른 곳으로 몰래 접속하려고 할 때 이를 알아채기 어렵게 만드는 문제입니다. 인증 자체가 뚫리는 것은 아니지만, 사용자가 무엇을 승인하는지 명확히 알 수 없게 만듭니다.

🇺🇸 원문 (English)

An issue was discovered in OpenSSH before 8.9. If a client is using public-key authentication with agent forwarding but without -oLogLevel=verbose, and an attacker has silently modified the server to support the None authentication option, then the user cannot determine whether FIDO authentication is going to confirm that the user wishes to connect to that server, or that the user wishes to allow that server to connect to a different server on the user's behalf. NOTE: the vendor's position is "this is not an authentication bypass, since nothing is being bypassed.

📍 영향받는 시스템

OpenSSH 8.9 미만 버전

⚔️ 공격 벡터

에이전트 포워딩을 사용하는 클라이언트가 조작된(None 인증을 지원하는) 서버에 접속할 때 발생

🛡️ 대응 방법

OpenSSH를 8.9 이상의 최신 버전으로 업데이트하거나, 접속 시 -oLogLevel=verbose 옵션을 사용하여 로그를 상세히 확인합니다.

🔧 검증 코드

출력된 OpenSSH 버전이 8.9 미만인지 확인합니다.

Shell / Script
ssh -V 2>&1 | grep -E 'OpenSSH'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

OpenSSH