🇰🇷 한글 설명
다양한 SFTP 서버의 로깅 함수에서 발생하는 포맷 스트링 취약점입니다. 인증된 원격 사용자가 조작된 파일명과 stat 명령어를 사용하여 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
로그를 남기는 과정에서 입력값을 제대로 검사하지 않아 발생하는 보안 약점입니다. 해커가 특수한 이름의 파일을 만들어 서버에 올리면 서버가 해커의 명령을 대신 실행하게 됩니다.
🇺🇸 원문 (English)
Format string vulnerability in a logging function as used by various SFTP servers, including (1) AttachmateWRQ Reflection for Secure IT UNIX Server before 6.0.0.9, (2) Reflection for Secure IT Windows Server before 6.0 build 38, (3) F-Secure SSH Server for Windows before 5.3 build 35, (4) F-Secure SSH Server for UNIX 3.0 through 5.0.8, (5) SSH Tectia Server 4.3.6 and earlier and 4.4.0, and (6) SSH Shell Server 3.2.9 and earlier, allows remote authenticated users to execute arbitrary commands via unspecified vectors, involving crafted filenames and the stat command.
📍 영향받는 시스템
AttachmateWRQ Reflection, F-Secure SSH Server, SSH Tectia Server 등 특정 버전의 SFTP/SSH 서버
⚔️ 공격 벡터
인증된 사용자가 조작된 파일명을 생성하여 stat 명령어를 유도함으로써 공격
🛡️ 대응 방법
해당 소프트웨어를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 취약점이 명시된 소프트웨어의 버전이 설치되어 있는지 확인하십시오.
rpm -qa | grep -E 'reflection|f-secure|tectia' || dpkg -l | grep -E 'reflection|f-secure|tectia'