The OL 8 lastlog command must have a mode of "0750" or less permissive.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-283459OL08-00-020262SV-283459r1188521_ruleCCI-000213medium
Description
Unauthorized disclosure of the contents of the /var/log/lastlog file can reveal system data to attackers, thus compromising its confidentiality.
STIGDate
Oracle Linux 8 Security Technical Implementation Guide2026-02-13

Related Frameworks

4 paths across 3 frameworks
NIST 800-531 mapping
AC-3
1.00
  • DISA · V2R8 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.1.1
1.00
  • DISA · V2R8 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.1.2
1.00
  • DISA · V2R8 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000213
1.00
  • DISA · V2R8 · disa_xccdf · related

Details

Check Text (C-283459r1188521_chk)

Verify the "lastlog" command has a mode of "0750" or less permissive with the following command: $ sudo stat -c "%a %n" /usr/bin/lastlog 750 /usr/bin/lastlog If the "lastlog" command has a mode more permissive than "0750", this is a finding.

Fix Text (F-87929r1188520_fix)

Configure the mode of the "lastlog" command for OL 8 to "0750" with the following command: $ sudo chmod 0750 /usr/bin/lastlog