Check: GEN006235
HP-UX 11.31 STIG:
GEN006235
(in versions v1 r19 through v1 r13)
Title
Samba must be configured to not allow guest access to shares. (Cat II impact)
Discussion
Guest access to shares permits anonymous access and is not permitted.
Check Content
Check the guest setting the Samba configuration. # cat /etc/opt/samba/smb.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v "^#" | grep -i "^guest ok = yes" If the setting exists and is set to yes, this is a finding.
Fix Text
Edit the /etc/opt/samba/smb.conf file and change the guest ok setting to no, for example: guest ok = no
Additional Identifiers
Rule ID: SV-35112r1_rule
Vulnerability ID: V-22501
Group Title: GEN006235
Expert Comments
Expert comments are only available to logged-in users.
CCIs
CCIs tied to check.
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Controls tied to check. These are derived from the CCIs shown above.
Number | Title |
---|---|
CM-6 |
Configuration Settings |