UCF STIG Viewer Logo

The smb.conf file must not have an extended ACL.


Overview

Finding ID Version Rule ID IA Controls Severity
V-227021 GEN006150 SV-227021r603265_rule Medium
Description
Excessive permissions could endanger the security of the Samba configuration file and, ultimately, the system and network.
STIG Date
Solaris 10 SPARC Security Technical Implementation Guide 2022-09-07

Details

Check Text ( C-29183r485417_chk )
Check the group ownership of the Samba configuration file. Default locations for this file include /etc, /etc/sfw, /etc/samba, and /etc/sfw/samba. If the system has Samba installed in non-standard locations, also check the smb.conf in those locations.

Procedure:
# ls -lL /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf
If the permissions include a "+", the file has an extended ACL and this is a finding.
Fix Text (F-29171r485418_fix)
Remove the extended ACL from the file.
# chmod A- /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf