AZLX-23-002315 - Amazon Linux 2023 must ensure the /var/log directory have mode "0755" or less permissive.

Information

Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state or can identify Amazon Linux 2023 or platform. Additionally, Personally Identifiable Information (PII) and operational information must not be revealed through error messages to unauthorized personnel or their designated representatives.

The structure and content of error messages must be carefully considered by the organization and development team. The extent to which the information system is able to identify and handle error conditions is guided by organizational policy and operational requirements.

Solution

Configure Amazon Linux 2023 so that the "/var/log" directory has a mode of "0755" by running the following command:

$ sudo chmod 0755 /var/log

See Also

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

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-274125r1120363_rule, STIG-ID|AZLX-23-002315, Vuln-ID|V-274125

Plugin: Unix

Control ID: 2b5fe8b2b14ab3eaebe0416e2a25e53f85c4d06840bff10d35fe79cea2d86407