Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

V-72075 Not Checking if /boot or /boot/efi are on Removable Devices #60

Open
Bialogs opened this issue Feb 8, 2019 · 0 comments
Open

Comments

@Bialogs
Copy link
Member

Bialogs commented Feb 8, 2019

From what I can tell, the call to grubby and subsequent parsing (looking for /^root=/) only looks at what device the root filesystem for that particular boot option, not if the boot loader is actually on removable media. This comes from my interpretation of "If the system is using an alternate boot loader on removable media..."

I was thinking a check to determine if /boot or /boot/efi were on removable media would need to include comparing the device from the output of the set root=($dev,$part) line in grub.cfg to the /sys/block/$dev/removable and confirming it is not removable.

Additionally, the STIG does not say that multiple instances of a grub.cfg are a finding but they may turn into a finding if they exist and the current form of V-72075 does not look for that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant