Check: OSX8-00-01145
Apple OSX 10.8 STIG:
OSX8-00-01145
(in version v1 r2)
Title
All setuid executables on the system must be vendor-supplied. (Cat II impact)
Discussion
All files with the setuid bit set will allow anyone running these files to be temporarily assigned the UID of the file. While many system files depend on these attributes for proper operation, security problems can result if setuid is assigned to programs allowing reading and writing of files, or shell escapes. Only default vendor-supplied executables should have the setuid bit set.
Check Content
To list all of the files with the setuid bit set, run the following command: sudo find / -perm 4000 -exec ls -ldb {} \; If any of the files listed are not documented as needing to have the setuid bit set by the vendor, this is a finding
Fix Text
Document all of the files with the setuid bit set.
Additional Identifiers
Rule ID: SV-65505r1_rule
Vulnerability ID: V-51295
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |