🇰🇷 한글 설명
OpenSSH 서버의 Kerberos 환경 기반 취약점으로, 원격 인증된 사용자가 .k5users 파일에 나열되어 있으면 다른 사용자로 로그인할 수 있습니다. 이는 의도된 로컬 로그인 인증 요구사항을 우회하게 됩니다.
💡 쉬운 설명
Kerberos를 사용하는 Linux 서버에서 특정 설정 파일(.k5users)을 통해 권한이 없는 사용자가 다른 계정으로 로그인할 수 있는 문제입니다. 이는 사용자 접근 제어가 제대로 작동하지 않게 만듭니다.
🇺🇸 원문 (English)
The OpenSSH server, as used in Fedora and Red Hat Enterprise Linux 7 and when running in a Kerberos environment, allows remote authenticated users to log in as another user when they are listed in the .k5users file of that user, which might bypass intended authentication requirements that would force a local login.
📍 영향받는 시스템
Fedora, Red Hat Enterprise Linux 7 (Kerberos 환경에서 실행 중인 OpenSSH)
⚔️ 공격 벡터
원격 인증된 공격자가 .k5users 파일 설정을 악용하여 다른 사용자 계정으로 인증 우회
🛡️ 대응 방법
OpenSSH를 최신 버전으로 업데이트하고 .k5users 파일 권한을 검토하여 인증 설정을 강화
🔧 검증 코드
OpenSSH 버전 확인 후 Kerberos 관련 설정(.k5users)이 존재하는지 확인. 버전이 4.1 이후이고 k5users 설정이 없으면 안전
ssh -V | grep -oE 'OpenSSH_[0-9.]+' && grep -r 'k5users' /etc/ssh/ 2>/dev/null || echo 'No k5users configuration found'