GEN001845 - Global initialization files' library search paths must contain only absolute paths - '/etc/profile'

Information

The library search path environment variable(s) contain a list of directories for the dynamic linker to search to find libraries. If this path includes the current working directory or other relative paths, libraries in these directories may be loaded instead of system libraries. 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 files /etc/profile /etc/bashrc /etc/security/.login /etc/environment /etc/security/environ and remove relative entries from the library search path variables.
#vi /etc/profile /etc/bashrc /etc/security/.login /etc/environment /etc/security/environ

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-38842r1_rule, STIG-ID|GEN001845, Vuln-ID|V-22359

Plugin: Unix

Control ID: 089faae7776357c5ccc81bea30543c02b24367b7a11255aca95fd7b679cb38a3