1.444 RHEL-09-654270

Information

RHEL 9 audit system must protect logon UIDs from unauthorized change.

GROUP ID: V-258228
RULE ID: SV-258228r991572

If modification of login user identifiers (UIDs) is not prevented, they can be changed by nonprivileged users and make auditing complicated or impossible.

Satisfies: SRG-OS-000462-GPOS-00206, SRG-OS-000475-GPOS-00220, SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000059-GPOS-00029

Solution

Configure RHEL 9 auditing to prevent modification of login UIDs once they are set by adding the following line to /etc/audit/rules.d/audit.rules:

--loginuid-immutable

The audit daemon must be restarted for the changes to take effect.

See Also

https://workbench.cisecurity.org/benchmarks/22008

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9, 800-53|AU-12c., CAT|II, CCI|CCI-000162, CCI|CCI-000163, CCI|CCI-000164, CCI|CCI-000172, Rule-ID|SV-258228r991572_rule, STIG-ID|RHEL-09-654270, Vuln-ID|V-258228

Plugin: Unix

Control ID: 98832a1419017ea156a4fe9f7a92d75b1f5bb9b458b7bcce563f1e2ff286957d