The vCenter ESX Agent Manager service must produce log records containing sufficient information regarding event details.
DISA Rule
SV-259006r934676_rule
Vulnerability Number
V-259006
Group Title
SRG-APP-000095-AS-000056
Rule Version
VCEM-80-000014
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-000166 - Provide irrefutable evidence that an individual (or process acting on behalf of an individual) falsely denying having performed organization-defined actions to be covered by non-repudiation.
- 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-000171 - Allow organization-defined personnel or roles to select the event types that are to be logged by specific components of the system.
- CCI-000172 - Generate audit records for the event types defined in AU-2 c that include the audit record content defined in AU-3.
- 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-002234 - Log the execution of privileged functions.
Weight
10
Fix Recommendation
Navigate to and open:
/usr/lib/vmware-eam/web/conf/server.xml
Inside the <Host> node, find the "AccessLogValve" <Valve> node and replace the "pattern" element as follows:
pattern="%h %{X-Forwarded-For}i %l %u %t [%I] "%r" %s %b [Processing time %D msec] "%{User-Agent}i""
Restart the service with the following command:
# vmon-cli --restart eam
Check Contents
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]/@pattern' /usr/lib/vmware-eam/web/conf/server.xml
Example result:
pattern="%h %{X-Forwarded-For}i %l %u %t [%I] "%r" %s %b [Processing time %D msec] "%{User-Agent}i""
Required elements:
%h %{X-Forwarded-For}i %l %t %u "%r" %s %b
If the log pattern does not contain the required elements in any order, this is a finding.
Vulnerability Number
V-259006
Documentable
False
Rule Version
VCEM-80-000014
Severity Override Guidance
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.AccessLogValve"]/@pattern' /usr/lib/vmware-eam/web/conf/server.xml
Example result:
pattern="%h %{X-Forwarded-For}i %l %u %t [%I] "%r" %s %b [Processing time %D msec] "%{User-Agent}i""
Required elements:
%h %{X-Forwarded-For}i %l %t %u "%r" %s %b
If the log pattern does not contain the required elements in any order, this is a finding.
Check Content Reference
M
Target Key
5564