SV-220127r603266_rule
V-220127
SRG-OS-000480
GEN008740
CAT II
10
If the file with the extended ACL resides on a UFS filesystem:
# getfacl /boot/grub/menu.lst
Remove each ACE from the file.
# setfacl -r [ACE] /boot/grub/menu.lst
If the file with the extended ACL resides on a ZFS filesystem:
# chmod A- /pool-name/boot/grub/menu.lst
This check applies to the global zone only. Determine the type zone that you are currently securing.
# zonename
If the command output is "global", this check applies.
On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset.
On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option:
# bootadm list-menu
Check the permissions of the menu.lst file.
Procedure:
# ls -lL /pool-name/boot/grub/menu.lst
or
# ls -lL /boot/grub/menu.lst
If the permissions of the menu.lst file contain "+", an extended ACL is present, and this is a finding.
V-220127
False
GEN008740
This check applies to the global zone only. Determine the type zone that you are currently securing.
# zonename
If the command output is "global", this check applies.
On systems that have a ZFS root, the active menu.lst file is typically located at /pool-name/boot/grub/menu.lst where "pool-name" is the mount point for the top-level dataset.
On systems that have a UFS root, the active menu.lst file is typically located at /boot/grub/menu.lst. To locate the active GRUB menu, use the bootadm command with the list-menu option:
# bootadm list-menu
Check the permissions of the menu.lst file.
Procedure:
# ls -lL /pool-name/boot/grub/menu.lst
or
# ls -lL /boot/grub/menu.lst
If the permissions of the menu.lst file contain "+", an extended ACL is present, and this is a finding.
M
4061