GEN002400 - The system must be checked weekly for unauthorized setuid files, and unauthorized modification to authorized setuid files.

Information

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 that allow reading and writing of files, or shell escapes.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Establish a weekly automated or manual process to generate a list of setuid files on the system and compare it with the prior list. To create a list of setuid files use the following command.
# find / -perm -4000 > setuid-file-list

See Also

http://iasecontent.disa.mil/stigs/zip/U_STIG_Library_2015_07.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-3f., CAT|II, CCI|CCI-000318, Rule-ID|SV-803r2_rule, STIG-ID|GEN002400, Vuln-ID|V-803

Plugin: Unix

Control ID: ab8b5c260003dfd126d55e0e717af917fca7e06fdd7a69725d82a96000717a1b