🇰🇷 한글 설명
OpenSSH 7.4 이전 버전의 sshd에서 pre-authentication compression 기능과 관련된 공유 메모리 관리자가 bounds check를 제대로 강제하지 않는 취약점입니다. 이로 인해 로컬 사용자가 privilege-separation 샌드박스 프로세스에 접근하여 권한 상승(privilege escalation)을 수행할 수 있습니다.
💡 쉬운 설명
OpenSSH 서버의 메모리 관리 코드에 경계 검사 누락으로 인해, 같은 시스템에 접근한 사용자가 더 높은 권한을 얻을 수 있습니다. 원격 공격은 아니고 로컬 시스템 접근 권한이 있을 때 실행 가능합니다.
🇺🇸 원문 (English)
The shared memory manager (associated with pre-authentication compression) in sshd in OpenSSH before 7.4 does not ensure that a bounds check is enforced by all compilers, which might allows local users to gain privileges by leveraging access to a sandboxed privilege-separation process, related to the m_zback and m_zlib data structures.
📍 영향받는 시스템
OpenSSH 7.3 이전 버전 (Linux, BSD, Unix 기반 시스템)
⚔️ 공격 벡터
로컬 접근 (Local) - privilege-separation 프로세스의 메모리 구조체(m_zback, m_zlib) 조작을 통한 권한 상승
🛡️ 대응 방법
OpenSSH를 7.4 이상으로 업그레이드
🔧 검증 코드
출력 버전이 OpenSSH_7.4 이상이면 안전, 7.3 이하면 취약함
ssh -V 2>&1 | grep -oE 'OpenSSH_[0-9]+\.[0-9]+'