GEN002220 - All shell files must have mode 0755 or less permissive.

Information

Shells with world/group-write permissions give the ability to maliciously modify the shell to obtain unauthorized access.

Solution

Change the mode of the shell.
# chmod 0755 <shell>

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|I, CCI|CCI-000366, Rule-ID|SV-226570r603265_rule, STIG-ID|GEN002220, STIG-Legacy|SV-922, STIG-Legacy|V-922, Vuln-ID|V-226570

Plugin: Unix

Control ID: a698eae2c2baa77a3a0d8c4e38b1b0dca175d3da2d4270ce37affa75bd962b8e