STIGhubSTIGhub
STIGsSearchCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 3 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide

V-258831

CAT II (Medium)

The Photon operating system /var/log directory must be restricted.

Rule ID

SV-258831r933554_rule

STIG

VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-001312

Discussion

Any operating system providing too much information in error messages risks compromising the data and security of the structure, and content of error messages needs to be carefully considered by the organization. Organizations carefully consider the structure/content of error messages. The extent to which information systems are able to identify and handle error conditions is guided by organizational policy and operational requirements. Information that could be exploited by adversaries includes, for example, erroneous logon attempts with passwords entered by mistake as the username, mission/business information that can be derived from (if not stated explicitly by) information recorded, and personal information, such as account numbers, social security numbers, and credit card numbers.

Check Content

At the command line, run the following command to verify permissions on the /var/log directory:

# stat -c "%n is owned by %U and group owned by %G with permissions of %a" /var/log

Expected result:

/var/log is owned by root and group owned by root with permissions of 755

If the /var/log directory is not owned by root, this is a finding.
If the /var/log directory is not group owned by root, this is a finding.
If the /var/log directory permissions are not set to 0755 or less, this is a finding.

Fix Text

At the command line, run the following commands:

# chown root:root /var/log
# chmod 0755 /var/log