🇰🇷 한글 설명
Samba에서 클라이언트 파이프 이름을 처리할 때 발생하는 경로 탐색(Path Traversal) 취약점입니다. 공격자가 특수 문자를 포함한 파이프 이름을 전송하여 비공개 디렉터리 외부의 Unix 도메인 소켓에 루트 권한으로 연결할 수 있습니다. 이를 통해 외부 서비스에 대한 무단 접근이나 서비스 중단 등의 피해를 입힐 수 있습니다.
💡 쉬운 설명
Samba 프로그램의 보안 허점을 이용해 파일 경로를 조작함으로써, 원래 접근할 수 없는 시스템의 중요한 통로에 몰래 접속하는 공격입니다. 이를 통해 해커가 관리자 권한을 흉내 내거나 시스템 서비스를 마비시킬 수 있습니다.
🇺🇸 원문 (English)
A path traversal vulnerability was identified in Samba when processing client pipe names connecting to Unix domain sockets within a private directory. Samba typically uses this mechanism to connect SMB clients to remote procedure call (RPC) services like SAMR LSA or SPOOLSS, which Samba initiates on demand. However, due to inadequate sanitization of incoming client pipe names, allowing a client to send a pipe name containing Unix directory traversal characters (../). This could result in SMB clients connecting as root to Unix domain sockets outside the private directory. If an attacker or client managed to send a pipe name resolving to an external service using an existing Unix domain socket, it could potentially lead to unauthorized access to the service and consequential adverse events, including compromise or service crashes.
📍 영향받는 시스템
Samba (Unix domain socket 처리 관련 취약 버전)
⚔️ 공격 벡터
조작된 Unix 디렉터리 탐색 문자(../)가 포함된 클라이언트 파이프 이름을 전송하여 외부 소켓에 연결
🛡️ 대응 방법
Samba를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 Samba의 버전을 확인하여 취약점이 해결된 최신 버전인지 대조하십시오.