RHEL-09-611195 - RHEL 9 must require authentication to access emergency mode.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

To mitigate the risk of unauthorized access to sensitive information by entities that have been issued certificates by DOD-approved PKIs, all DOD systems (e.g., web servers and web portals) must be properly configured to incorporate access control methods that do not rely solely on the possession of a certificate for access. Successful authentication must not automatically give an entity access to an asset or security boundary. Authorization procedures and controls must be implemented to ensure each authenticated entity also has a validated and current authorization. Authorization is the process of determining whether an entity, once authenticated, is permitted to access a specific asset. Information systems use access control policies and enforcement mechanisms to implement this requirement.

This requirement prevents attackers with physical access from trivially bypassing security on the machine and gaining root access. Such accesses are further prevented by configuring the bootloader password.

Solution

Configure RHEL 9 to require authentication for emergency mode.

Add or modify the following line in the '/usr/lib/systemd/system/emergency.service' file:

ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/U_RHEL_9_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000213, Rule-ID|SV-258128r926371_rule, STIG-ID|RHEL-09-611195, Vuln-ID|V-258128

Plugin: Unix

Control ID: ceaf9112d0d75f309a116e75c244176bf0583ed72678b5941788d7ce0f775c3d