🇰🇷 한글 설명
OpenSSH 10.3 이전 버전에서 명령줄의 사용자명에 포함된 셸 메타문자를 통해 임의의 명령어 실행이 가능한 취약점입니다. 신뢰할 수 없는 사용자명 입력과 ssh_config의 기본값이 아닌 % 확장 설정이 함께 필요합니다.
💡 쉬운 설명
OpenSSH에서 특수문자가 포함된 사용자명으로 인해 의도하지 않은 명령이 실행될 수 있습니다. 비표준 설정의 서버에서만 발생하는 낮은 위험도의 취약점입니다.
🇺🇸 원문 (English)
In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line. This requires a scenario where the username on the command line is untrusted, and also requires a non-default configurations of % in ssh_config.
📍 영향받는 시스템
OpenSSH versions before 10.3
⚔️ 공격 벡터
Injecting shell metacharacters in username parameter with non-default ssh_config % expansion settings
🛡️ 대응 방법
Upgrade OpenSSH to 10.3 or later and audit ssh_config % settings
🔧 검증 코드
10.3 이상이면 안전합니다. 10.3 미만의 버전이 출력되면 업그레이드가 필요합니다.
ssh -V 2>&1 | grep -oP 'OpenSSH_\K[0-9.]+' || dpkg-query -W openssh-client 2>/dev/null | awk '{print $2}'