vSphere UI must record user access in a format that enables monitoring of remote access.
DISA Rule
SV-256782r889345_rule
Vulnerability Number
V-256782
Group Title
SRG-APP-000016-WSR-000005
Rule Version
VCUI-70-000005
Severity
CAT II
CCI(s)
- CCI-000067 - Employ automated mechanisms to monitor remote access methods.
- CCI-000130 - Ensure that audit records containing information that establishes what type of event occurred.
- CCI-000131 - Ensure that audit records containing information that establishes when the event occurred.
- CCI-000132 - Ensure that audit records containing information that establishes where the event occurred.
- CCI-000133 - Ensure that audit records containing information that establishes the source of the event.
- CCI-000134 - Ensure that audit records containing information that establishes the outcome of the event.
- CCI-000169 - Provide audit record generation capability for the event types the system is capable of auditing as defined in AU-2 a. on organization-defined information system components.
- CCI-001487 - Ensure that audit records containing information that establishes the identity of any individuals, subjects, or objects/entities associated with the event.
- CCI-001889 - Record time stamps for audit records that meet organization-defined granularity of time measurement.
- CCI-001890 - Record time stamps for audit records that use Coordinated Universal Time, have a fixed local time offset from Coordinated Universal Time, or that include the local time offset as part of the time stamp.
Weight
10
Fix Recommendation
Navigate to and open:
/usr/lib/vmware-vsphere-ui/server/conf/server.xml
Ensure the log pattern in the "org.apache.catalina.valves.AccessLogValve" node is set to the following:
pattern="%h %{x-forwarded-for}i %l %u %t "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D"
Restart the service with the following command:
# vmon-cli --restart vsphere-ui
Check Contents
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/server.xml | xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]/@pattern' -
Expected result:
pattern="%h %{x-forwarded-for}i %l %u %t "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D"
If the output does not match the expected result, this is a finding.
Vulnerability Number
V-256782
Documentable
False
Rule Version
VCUI-70-000005
Severity Override Guidance
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/server.xml | xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]/@pattern' -
Expected result:
pattern="%h %{x-forwarded-for}i %l %u %t "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D"
If the output does not match the expected result, this is a finding.
Check Content Reference
M
Target Key
5528