GEN001840 - All global initialization files' executable search paths must contain only absolute paths - '/etc/profile'

Information

The executable search path (typically the PATH environment variable) contains a list of directories for the shell to search to find executables. If this path includes the current working directory or other relative paths, executables in these directories may be executed instead of system commands. This variable is formatted as a colon-separated list of directories. If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is interpreted as the current working directory. Paths starting with a slash (/) are absolute paths.

Solution

Edit the global initialization file(s) with PATH variables containing relative paths. Edit the file and remove the relative path from the PATH variable.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-12486r2_rule, STIG-ID|GEN001840, Vuln-ID|V-11985

Plugin: Unix

Control ID: effc7478285b0868435061e9aac483ecc9fa6c12b3b9ae72d1ea82077557b283