The system must not allow users to configure .forward files.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-216196 | SOL-11.1-070170 | SV-216196r959010_rule | CCI-000366 | medium |
| Description | ||||
| Use of the .forward file poses a security risk in that sensitive data may be inadvertently transferred outside the organization. The .forward file also poses a secondary risk as it can be used to execute commands that may perform unintended actions. | ||||
| STIG | Date | |||
| Solaris 11 X86 Security Technical Implementation Guide | 2025-05-05 | |||
Details
Check Text (C-216196r959010_chk)
The root role is required.
# for dir in \
`logins -ox | awk -F: '($8 == "PS") { print $6 }'`; do
ls -l ${dir}/.forward 2>/dev/null
done
If output is produced, this is a finding.
Fix Text (F-17432r372971_fix)
The root role is required.
Remove any .forward files that are found.
# pfexec rm [filename]