UBTU-20-010422 - The Ubuntu operating system must configure /var/log/syslog file with mode 0640 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 the operating system 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 the Ubuntu operating system to have permissions of 0640 for the '/var/log/syslog' file by running the following command:

$ sudo chmod 0640 /var/log/syslog

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R10_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-238343r654204_rule, STIG-ID|UBTU-20-010422, Vuln-ID|V-238343

Plugin: Unix

Control ID: 56a1500737c332a45409a36385fefd4f0dd8e92145cb6d2a6475755ffb30eeb2