🇰🇷 한글 설명
OpenSSH 4.6 이전 버전에서 ChallengeResponseAuthentication이 활성화되어 있을 때 발생하는 User Enumeration 취약점이다. S/KEY 인증 프로토콜을 이용한 로그인 시도 시 존재하는 사용자와 존재하지 않는 사용자에 대해 서로 다른 응답을 반환하여 공격자가 유효한 사용자명을 파악할 수 있다.
💡 쉬운 설명
공격자가 OpenSSH 서버에 로그인을 시도할 때 실제 존재하는 사용자와 존재하지 않는 사용자에 대해 다른 오류 메시지를 받을 수 있다. 이를 통해 공격자는 서버에 어떤 사용자 계정이 존재하는지 알아낼 수 있다.
🇺🇸 원문 (English)
OpenSSH 4.6 and earlier, when ChallengeResponseAuthentication is enabled, allows remote attackers to determine the existence of user accounts by attempting to authenticate via S/KEY, which displays a different response if the user account exists, a similar issue to CVE-2001-1483.
📍 영향받는 시스템
OpenSSH 4.6 이전 버전 (ChallengeResponseAuthentication 활성화된 경우)
⚔️ 공격 벡터
S/KEY 인증 프로토콜을 이용하여 원격에서 username enumeration 수행
🛡️ 대응 방법
OpenSSH를 4.7 이상 버전으로 업그레이드하거나 sshd_config에서 ChallengeResponseAuthentication을 no로 설정
🔧 검증 코드
OpenSSH 버전이 4.7 이상인지 확인하고, ChallengeResponseAuthentication이 no로 설정되어 있는지 확인
ssh -V 2>&1 | grep -oE 'OpenSSH_[0-9]+\.[0-9]+p?' && sshd -T 2>/dev/null | grep 'challengeresponseauthentication'