🔍 CVE-2026-15779

6.1
CVSS Score
MEDIUM
2026-07-15
2026-07-15 18:20
✅ 완료

🇰🇷 한글 설명

Samba의 pam_winbind에서 mkhomedir 기능이 활성화되었을 때, 홈 디렉토리 경로가 루트(/)와 같은 중요 시스템 디렉토리인지 검증하지 않는 결함이 발견되었습니다. 특정 권한을 가진 사용자가 이를 악용할 경우 루트 디렉토리의 소유권이 변경되어 SSH, sudo, 패키지 관리자 등이 작동하지 않는 심각한 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

시스템의 가장 중요한 폴더인 루트(/) 폴더의 주인(소유자)을 강제로 바꿔버릴 수 있는 오류입니다. 이로 인해 컴퓨터의 핵심 기능들이 멈춰버려 시스템을 정상적으로 사용할 수 없게 됩니다.

🇺🇸 원문 (English)

A flaw was found in samba's pam_winbind. When mkhomedir is enabled, pam_winbind chowns the target account's home directory without validating the path is not a critical system directory such as /. On affected systems, accounts with / as their home directory (a common default for system accounts) can have this triggered not only by root, but by a non-root user holding a narrow sudo delegation to run commands as that account, causing ownership of / to change and resulting in severe denial of service (SSH, sudo, and package-manager failures). The change does not grant write access to / (which ships with restrictive 0555 permissions on RHEL), so the impact is availability loss rather than further privilege escalation.

📍 영향받는 시스템

mkhomedir 기능이 활성화된 Samba pam_winbind를 사용하는 시스템

⚔️ 공격 벡터

특정 계정으로 sudo 권한을 가진 사용자가 홈 디렉토리가 '/'로 설정된 계정을 통해 소유권 변경을 유도함

🛡️ 대응 방법

Samba 및 pam_winbind를 최신 보안 패치가 적용된 버전으로 업데이트하거나 mkhomedir 설정을 검토하십시오.

🔧 검증 코드

설치된 Samba 관련 패키지 목록을 확인하여 현재 사용 중인 버전을 파악합니다.

Shell / Script
rpm -qa | grep samba || dpkg -l | grep samba

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

💻 영향받는 소프트웨어

Samba