CyberRota Analysis
AI-GeneratedA vulnerability exists in Samba's pam_winbind when mkhomedir is enabled, allowing non-root users with limited sudo privileges to change the ownership of critical system directories, such as /. This can lead to significant availability issues, including failures in SSH, sudo, and package management operations, although it does not allow for privilege escalation. System administrators and organizations using Samba should prioritize addressing this flaw to prevent potential denial-of-service scenarios.
Original NVD Description
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.