GEN001730 - All global initialization files must not have extended ACLs - '/etc/csh.cshrc'

Information

Global initialization files are used to configure the user's shell environment upon login. Malicious modification of these files could compromise accounts upon logon.

Solution

Remove the extended ACL from the file.

# ls -l etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/* 2>null|grep '+ '|sed 's/^.* ///g'|xargs setfacl --remove-all

See Also

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

Item Details

Category: ACCESS CONTROL, CONFIGURATION MANAGEMENT

References: 800-53|AC-6, 800-53|CM-5(6), CAT|II, CCI|CCI-000225, CCI|CCI-001499, Rule-ID|SV-218326r603259_rule, STIG-ID|GEN001730, STIG-Legacy|SV-63867, STIG-Legacy|V-22356, Vuln-ID|V-218326

Plugin: Unix

Control ID: 96390b759171e57b65034e29f28bcd4e0168b38a2cecea859b8a1d41db2a9a26