🔍 CVE-2012-0814

3.5
CVSS Score
LOW
2012-01-27
2026-04-29 01:13
✅ 완료

🇰🇷 한글 설명

OpenSSH 5.7 이전 버전의 auth_parse_options 함수에서 authorized_keys 명령 옵션이 포함된 디버그 메시지를 노출하는 정보 유출 취약점입니다. 인증된 원격 사용자가 이 메시지를 읽어 민감한 설정 정보를 획득할 수 있으며, 공유 계정이나 셸 접근이 제한된 계정에서 특히 문제가 될 수 있습니다.

💡 쉬운 설명

SSH 서버가 인증된 사용자에게 보안 설정 정보(authorized_keys 옵션)를 실수로 노출합니다. 이를 통해 공격자가 시스템 설정 정보를 얻을 수 있습니다.

🇺🇸 원문 (English)

The auth_parse_options function in auth-options.c in sshd in OpenSSH before 5.7 provides debug messages containing authorized_keys command options, which allows remote authenticated users to obtain potentially sensitive information by reading these messages, as demonstrated by the shared user account required by Gitolite. NOTE: this can cross privilege boundaries because a user account may intentionally have no shell or filesystem access, and therefore may have no supported way to read an authorized_keys file in its own home directory.

📍 영향받는 시스템

OpenSSH 5.7 이전 버전 (sshd)

⚔️ 공격 벡터

인증된 사용자가 SSH 연결 시 디버그 메시지를 통해 authorized_keys 명령 옵션 정보 수집

🛡️ 대응 방법

OpenSSH를 5.7 이상으로 업그레이드

🔧 검증 코드

5.7 이상이면 취약점 없음, 5.7 미만이면 업그레이드 필요

Shell / Script
ssh -V 2>&1 | grep -oE '[0-9]+\.[0-9]+' | head -1

📊 CVSS Vector String

CVSS Vector
AV:N/AC:M/Au:S/C:P/I:N/A:N

💻 영향받는 소프트웨어

Git