GEN006140 - The smb.conf file must have mode 0644 or less permissive.

Information

If the smb.conf file has excessive permissions, the file may be maliciously modified and the Samba configuration could be compromised.

Solution

Change the mode of the smb.conf file to 0644 or less permissive.

Procedure:
# chmod 0644 /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_x86_V2R4_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), CAT|II, CCI|CCI-002165, Rule-ID|SV-227927r854513_rule, STIG-ID|GEN006140, STIG-Legacy|SV-40294, STIG-Legacy|V-1028, Vuln-ID|V-227927

Plugin: Unix

Control ID: 05ffbc0eb517af4dd36c8d1c15e4921b1e69c86a87e9c0f52bbdfed74c8f3997