The local initialization file lists of preloaded libraries must contain only absolute paths on AIX.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-215425 | AIX7-00-003130 | SV-215425r991589_rule | CCI-000366 | medium |
| Description | ||||
| The library preload list environment variable contains a list of libraries for the dynamic linker to load before loading the libraries required by the binary. If this list contains paths to libraries relative to the current working directory, unintended libraries may be preloaded. This variable is formatted as a space-separated list of libraries. | ||||
| STIG | Date | |||
| IBM AIX 7.x Security Technical Implementation Guide | 2024-08-16 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · 3 · disa_xccdf · related
Details
Check Text (C-215425r991589_chk)
Identify local initialization files that have library search paths:
# cat /etc/passwd | cut -f 1,1 -d ":" | xargs -n1 -IUSER sh -c 'grep -l LDR_PRELOAD ~USER/.*'
/root/.sh_history
/home/doejohn/.profile
/home/doejane/.profile
For each file identified above, verify the search path contains only absolute paths:
Note: This variable is formatted as a colon-separated list of paths.
# cat <local_initilization_file> | grep -Ei 'ldr|preload'
LDR_PRELOAD=/usr/lib
If the paths listed have not been documented and authorized by the ISSO/ISSM, this is a finding.
If there is an empty entry, such as a leading or trailing colon, or two consecutive colons, this is a finding.
If an entry begins with a character other than a slash (/) or other than "$PATH", it is a relative path, and this is a finding.
Fix Text (F-16621r294727_fix)
Edit the local initialization file and remove the relative path entry from the library preload variable "LDR_PRELOAD".