VMware vSphere 8.0 vCenter Appliance User Interface (UI) Security Technical Implementation Guide
Pick two releases to diff their requirements.
Open a previous version of this STIG.
Digest of Updates ✎ 1
Comparison against the immediately-prior release (V1R1). Rule matching uses the Group Vuln ID. Content-change detection compares the rule’s description, check, and fix text after stripping inline markup — cosmetic-only edits aren’t flagged.
Content changes 1
- V-259136 Medium check The vCenter UI service host-manager webapp must be removed.
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCUI-80-000001
- Vuln IDs
-
- V-259104
- Rule IDs
-
- SV-259104r960735_rule
Checks: C-62844r935214_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector[@port="${http.port}"]/@maxThreads' /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: maxThreads="800" If the output does not match the expected result, this is a finding.
Fix: F-62753r935215_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to the <Connector> node and configure with the value "maxThreads="800"". Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- VCUI-80-000005
- Vuln IDs
-
- V-259105
- Rule IDs
-
- SV-259105r960792_rule
Checks: C-62845r935217_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/cookie-config/secure' - Expected result: <secure>true</secure> If the output of the command does not match the expected result, this is a finding.
Fix: F-62754r935218_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Navigate to the <session-config> node and configure the <secure> setting as follows: <session-config> <session-timeout>30</session-timeout> <cookie-config> <http-only>true</http-only> <secure>true</secure> </cookie-config> </session-config> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AU-14
- Severity
- M
- CCI
- CCI-001464
- Version
- VCUI-80-000013
- Vuln IDs
-
- V-259106
- Rule IDs
-
- SV-259106r960888_rule
Checks: C-62846r935220_chk
At the command prompt, run the following command: # grep StreamRedirectFile /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json Expected output: "StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/vsphere-ui/logs/vsphere-ui-runtime.log", If no log file is specified for the "StreamRedirectFile" setting, this is a finding.
Fix: F-62755r935221_fix
Navigate to and open: /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json Below the last line of the "PreStartCommandArg" block, add the following line: "StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/vsphere-ui/logs/vsphere-ui-runtime.log", Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000067
- Version
- VCUI-80-000014
- Vuln IDs
-
- V-259107
- Rule IDs
-
- SV-259107r960891_rule
Checks: C-62847r935223_chk
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-vsphere-ui/server/conf/server.xml Example result: pattern="%h %{x-forwarded-for}i %l %u %t &quot;%r&quot; %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D" Required elements: %h %{X-Forwarded-For}i %l %t %u &quot;%r&quot; %s %b If the log pattern does not contain the required elements in any order, this is a finding.
Fix: F-62756r935224_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/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 "%r" %s %b %{#hashedClientId#}s %{#hashedRequestId#}r %I %D" Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- VCUI-80-000025
- Vuln IDs
-
- V-259108
- Rule IDs
-
- SV-259108r960930_rule
Checks: C-62848r935226_chk
At the command prompt, run the following command: # find /var/log/vmware/vsphere-ui/ -xdev -type f -a '(' -perm -o+w -o -not -user vsphere-ui -o -not -group users -a -not -group root ')' -exec ls -ld {} \; If any files are returned, this is a finding.
Fix: F-62757r935227_fix
At the command prompt, run the following commands: # chmod o-w <file> # chown vsphere-ui:users <file> Note: Substitute <file> with the listed file.
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- VCUI-80-000034
- Vuln IDs
-
- V-259109
- Rule IDs
-
- SV-259109r960960_rule
Checks: C-62849r935229_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Listener[@className="org.apache.catalina.security.SecurityListener"]' /usr/lib/vmware-vsphere-ui/server/conf/server.xml Example result: <Listener className="org.apache.catalina.security.SecurityListener"/> If the "org.apache.catalina.security.SecurityListener" listener is not present, this is a finding. If the "org.apache.catalina.security.SecurityListener" listener is configured with a "minimumUmask" and is not "0007", this is a finding.
Fix: F-62758r935230_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to the <Server> node and add or update the "org.apache.catalina.security.SecurityListener" as follows: <Listener className="org.apache.catalina.security.SecurityListener"/> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000036
- Vuln IDs
-
- V-259110
- Rule IDs
-
- SV-259110r960963_rule
Checks: C-62850r935232_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector[@allowTrace = 'true']" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62759r935233_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to and locate: 'allowTrace="true"' Remove the 'allowTrace="true"' setting. Note: If "allowTrace" is not present, it defaults to false. Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- VCUI-80-000037
- Vuln IDs
-
- V-259111
- Rule IDs
-
- SV-259111r960966_rule
Checks: C-62851r935235_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector[(@port = '0') or not(@address)]" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62760r935236_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to the <Connector> node and configure the port and address as follows. port="${http.port}" address="localhost" Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- SC-23
- Severity
- M
- CCI
- CCI-001664
- Version
- VCUI-80-000057
- Vuln IDs
-
- V-259112
- Rule IDs
-
- SV-259112r961116_rule
Checks: C-62852r935238_chk
At the command line, run the following command: # grep RECYCLE_FACADES /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Example result: org.apache.catalina.connector.RECYCLE_FACADES=true If "org.apache.catalina.connector.RECYCLE_FACADES" is not set to "true", this is a finding. If the "org.apache.catalina.connector.RECYCLE_FACADES" setting does not exist, this is not a finding.
Fix: F-62761r935239_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Update or remove the following line: org.apache.catalina.connector.RECYCLE_FACADES=true Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- SC-24
- Severity
- M
- CCI
- CCI-001190
- Version
- VCUI-80-000062
- Vuln IDs
-
- V-259113
- Rule IDs
-
- SV-259113r961122_rule
Checks: C-62853r935241_chk
At the command line, run the following command: # grep EXIT_ON_INIT_FAILURE /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Example result: org.apache.catalina.startup.EXIT_ON_INIT_FAILURE=true If there are no results, or if the "org.apache.catalina.startup.EXIT_ON_INIT_FAILURE" is not set to "true", this is a finding.
Fix: F-62762r935242_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Add or change the following line: org.apache.catalina.startup.EXIT_ON_INIT_FAILURE=true Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- SI-10
- Severity
- M
- CCI
- CCI-001310
- Version
- VCUI-80-000065
- Vuln IDs
-
- V-259114
- Rule IDs
-
- SV-259114r961158_rule
Checks: C-62854r935244_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector[@URIEncoding != 'UTF-8'] | //Connector[not[@URIEncoding]]" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62763r935245_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Configure the <Connector> node with the value: URIEncoding="UTF-8" Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCUI-80-000067
- Vuln IDs
-
- V-259115
- Rule IDs
-
- SV-259115r961167_rule
Checks: C-62855r935247_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-vsphere-ui/server/conf/server.xml Example result: <Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/> If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
Fix: F-62764r935248_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Locate the following Host block: <Host ...> ... </Host> Inside this block, add or update the following on a new line: <Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- Severity
- M
- CCI
- CCI-004895
- Version
- VCUI-80-000070
- Vuln IDs
-
- V-259116
- Rule IDs
-
- SV-259116r1003678_rule
Checks: C-62856r935250_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/session-timeout' - Example result: <session-timeout>30</session-timeout> If the value of "session-timeout" is not "30" or less, or is missing, this is a finding.
Fix: F-62765r935251_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Navigate to the <session-config> node and configure the <session-timeout> as follows: <session-config> <session-timeout>30</session-timeout> <cookie-config> <http-only>true</http-only> <secure>true</secure> </cookie-config> </session-config> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AU-4
- Severity
- M
- CCI
- CCI-001851
- Version
- VCUI-80-000081
- Vuln IDs
-
- V-259117
- Rule IDs
-
- SV-259117r961395_rule
Checks: C-62857r935253_chk
By default, a vmware-services-vsphere-ui.conf rsyslog configuration file that includes the service logs when syslog is configured on vCenter, but it must be verified. At the command prompt, run the following command: # cat /etc/vmware-syslog/vmware-services-vsphere-ui.conf Expected result: #vsphere-ui main log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log" Tag="ui-main" Severity="info" Facility="local0") #vsphere-ui change log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/changelog.log" Tag="ui-changelog" Severity="info" Facility="local0") #vsphere-ui dataservice log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/dataservice.log" Tag="ui-dataservice" Severity="info" Facility="local0") #vsphere-ui apigw log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/apigw.log" Tag="ui-apigw" Severity="info" Facility="local0") #vsphere-ui equinox log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/equinox.log" Tag="ui-equinox" Severity="info" Facility="local0") #vsphere-ui event log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/eventlog.log" Tag="ui-eventlog" Severity="info" Facility="local0") #vsphere-ui op id log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/opId.log" Tag="ui-opid" Severity="info" Facility="local0") #vsphere-ui performance audit log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/performanceAudit.log" Tag="ui-performanceAudit" Severity="info" Facility="local0") #vsphere-ui plugin-medic log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/plugin-medic.log" Tag="ui-plugin-medic" Severity="info" Facility="local0") #vsphere-ui threadmonitor log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/threadmonitor.log" Tag="ui-threadmonitor" Severity="info" Facility="local0") #vsphere-ui threadpools log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/threadpools.log" Tag="ui-threadpools" Severity="info" Facility="local0") #vsphere-ui vspheremessaging log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vspheremessaging.log" Tag="ui-vspheremessaging" Severity="info" Facility="local0") #vsphere-ui rpm log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere-ui-rpm.log" Tag="ui-rpm" Severity="info" Facility="local0") #vsphere-ui runtime log stdout input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere-ui-runtime.log*" Tag="ui-runtime-stdout" Severity="info" Facility="local0") #vsphere-ui runtime log stderr input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere-ui-runtime.log*" Tag="ui-runtime-stderr" Severity="info" Facility="local0") #vsphere-ui access log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/access/localhost_access_log.txt" Tag="ui-access" Severity="info" Facility="local0") #vsphere-ui gc log input(type="imfile" File="/var/log/vmware/vsphere-ui/vsphere-ui-gc*" Tag="ui-gc" Severity="info" Facility="local0") #vsphere-ui firstboot log input(type="imfile" File="/var/log/firstboot/vsphere_ui_firstboot*" Tag="ui-firstboot" Severity="info" Facility="local0") #vsphere-ui catalina input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/catalina.*.log" Tag="ui-runtime-catalina" Severity="info" Facility="local0") #vsphere-ui endpoint input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/endpoint.log" Tag="ui-runtime-endpoint" Severity="info" Facility="local0") #vsphere-ui localhost input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/localhost.*.log" Tag="ui-runtime-localhost" Severity="info" Facility="local0") #vsphere-ui vsan input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsan-plugin.log" Tag="ui-runtime-vsan" Severity="info" Facility="local0") If the output does not match the expected result, this is a finding.
Fix: F-62766r935254_fix
Navigate to and open: vmware-services-vsphere-ui.conf Create the file if it does not exist. Set the contents of the file as follows: #vsphere-ui main log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log" Tag="ui-main" Severity="info" Facility="local0") #vsphere-ui change log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/changelog.log" Tag="ui-changelog" Severity="info" Facility="local0") #vsphere-ui dataservice log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/dataservice.log" Tag="ui-dataservice" Severity="info" Facility="local0") #vsphere-ui apigw log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/apigw.log" Tag="ui-apigw" Severity="info" Facility="local0") #vsphere-ui equinox log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/equinox.log" Tag="ui-equinox" Severity="info" Facility="local0") #vsphere-ui event log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/eventlog.log" Tag="ui-eventlog" Severity="info" Facility="local0") #vsphere-ui op id log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/opId.log" Tag="ui-opid" Severity="info" Facility="local0") #vsphere-ui performance audit log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/performanceAudit.log" Tag="ui-performanceAudit" Severity="info" Facility="local0") #vsphere-ui plugin-medic log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/plugin-medic.log" Tag="ui-plugin-medic" Severity="info" Facility="local0") #vsphere-ui threadmonitor log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/threadmonitor.log" Tag="ui-threadmonitor" Severity="info" Facility="local0") #vsphere-ui threadpools log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/threadpools.log" Tag="ui-threadpools" Severity="info" Facility="local0") #vsphere-ui vspheremessaging log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vspheremessaging.log" Tag="ui-vspheremessaging" Severity="info" Facility="local0") #vsphere-ui rpm log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere-ui-rpm.log" Tag="ui-rpm" Severity="info" Facility="local0") #vsphere-ui runtime log stdout input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere-ui-runtime.log*" Tag="ui-runtime-stdout" Severity="info" Facility="local0") #vsphere-ui runtime log stderr input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsphere-ui-runtime.log*" Tag="ui-runtime-stderr" Severity="info" Facility="local0") #vsphere-ui access log input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/access/localhost_access_log.txt" Tag="ui-access" Severity="info" Facility="local0") #vsphere-ui gc log input(type="imfile" File="/var/log/vmware/vsphere-ui/vsphere-ui-gc*" Tag="ui-gc" Severity="info" Facility="local0") #vsphere-ui firstboot log input(type="imfile" File="/var/log/firstboot/vsphere_ui_firstboot*" Tag="ui-firstboot" Severity="info" Facility="local0") #vsphere-ui catalina input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/catalina.*.log" Tag="ui-runtime-catalina" Severity="info" Facility="local0") #vsphere-ui endpoint input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/endpoint.log" Tag="ui-runtime-endpoint" Severity="info" Facility="local0") #vsphere-ui localhost input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/localhost.*.log" Tag="ui-runtime-localhost" Severity="info" Facility="local0") #vsphere-ui vsan input(type="imfile" File="/var/log/vmware/vsphere-ui/logs/vsan-plugin.log" Tag="ui-runtime-vsan" Severity="info" Facility="local0")
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCUI-80-000124
- Vuln IDs
-
- V-259118
- Rule IDs
-
- SV-259118r961863_rule
Checks: C-62858r935256_chk
At the command line, run the following command: # grep STRICT_SERVLET_COMPLIANCE /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Example result: org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true If there are no results, or if the "org.apache.catalina.STRICT_SERVLET_COMPLIANCE" is not set to "true", this is a finding.
Fix: F-62767r935257_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Add or change the following line: org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCUI-80-000125
- Vuln IDs
-
- V-259119
- Rule IDs
-
- SV-259119r960735_rule
Checks: C-62859r935259_chk
The connection timeout should not be disabled by setting it to "-1". At the command prompt, run the following command: # xmllint --xpath "//Connector[@connectionTimeout = '-1']" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62768r935260_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Configure the <Connector> node with the value: connectionTimeout="300000" Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCUI-80-000126
- Vuln IDs
-
- V-259120
- Rule IDs
-
- SV-259120r960735_rule
Checks: C-62860r935262_chk
The connection timeout should not be unlimited by setting it to "-1". At the command prompt, run the following command: # xmllint --xpath "//Connector[@maxKeepAliveRequests = '-1']" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62769r935263_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Configure the <Connector> node with the value: maxKeepAliveRequests="100" Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- SI-10
- Severity
- M
- CCI
- CCI-001310
- Version
- VCUI-80-000127
- Vuln IDs
-
- V-259121
- Rule IDs
-
- SV-259121r961158_rule
Checks: C-62861r935265_chk
At the command prompt, run the following command: # xmllint --xpath "//*[contains(text(), 'setCharacterEncodingFilter')]/parent::*" /usr/lib/vmware-vsphere-ui/server/conf/web.xml Expected result: <filter-mapping> <filter-name>setCharacterEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter> <filter-name>setCharacterEncodingFilter</filter-name> <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class> <async-supported>true</async-supported> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>ignore</param-name> <param-value>true</param-value> </init-param> </filter> If the output is does not match the expected result, this is a finding.
Fix: F-62770r935266_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Configure the <web-app> node with the child nodes listed below: <filter-mapping> <filter-name>setCharacterEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter> <filter-name>setCharacterEncodingFilter</filter-name> <filter-class>org.apache.catalina.filters.SetCharacterEncodingFilter</filter-class> <async-supported>true</async-supported> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>ignore</param-name> <param-value>true</param-value> </init-param> </filter> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- VCUI-80-000129
- Vuln IDs
-
- V-259122
- Rule IDs
-
- SV-259122r960792_rule
Checks: C-62862r935268_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/cookie-config/http-only' - Expected result: <http-only>true</http-only> If the output does not match the expected result, this is a finding.
Fix: F-62771r935269_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Navigate to the <session-config> node and configure the <http-only> as follows: <session-config> <session-timeout>30</session-timeout> <cookie-config> <http-only>true</http-only> <secure>true</secure> </cookie-config> </session-config> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- VCUI-80-000130
- Vuln IDs
-
- V-259123
- Rule IDs
-
- SV-259123r960792_rule
Checks: C-62863r935271_chk
At the command prompt, run the following command: # xmllint --xpath "//*[contains(text(), 'DefaultServlet')]/parent::*" /usr/lib/vmware-vsphere-ui/server/conf/web.xml Example output: <servlet> <description>File servlet</description> <servlet-name>FileServlet</servlet-name> <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class> </servlet> If the "readOnly" param-value for the "DefaultServlet" servlet class is set to "false", this is a finding. If the "readOnly" param-value does not exist, this is not a finding.
Fix: F-62772r935272_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Navigate to the /<web-apps>/<servlet>/<servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>/ node and remove the following node: <init-param> <param-name>readonly</param-name> <param-value>false</param-value> </init-param> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000134
- Vuln IDs
-
- V-259124
- Rule IDs
-
- SV-259124r960963_rule
Checks: C-62864r935274_chk
At the command prompt, run the following commands: # xmllint --xpath "//Server/@port" /usr/lib/vmware-vsphere-ui/server/conf/server.xml # grep shutdown.port /etc/vmware/vmware-vmon/svcCfgfiles/vsphere-ui.json Example results: port="${shutdown.port}" "-Dshutdown.port=-1", If "port" does not equal "${shutdown.port}", this is a finding. If "shutdown.port" does not equal "-1", this is a finding.
Fix: F-62773r935275_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Add or modify the setting "shutdown.port=-1" in the "catalina.properties" file. Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Configure the <Server> node with the value: port="${shutdown.port}" Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000136
- Vuln IDs
-
- V-259125
- Rule IDs
-
- SV-259125r960963_rule
Checks: C-62865r935277_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="debug"]/parent::init-param' - Example result: <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> If the "debug" parameter is specified and is not "0", this is a finding. If the "debug" parameter does not exist, this is not a finding.
Fix: F-62774r935278_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Navigate to all <debug> nodes that are not set to "0". Set the <param-value> to "0" in all <param-name>debug</param-name> nodes. Note: The debug setting should look like the following: <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000137
- Vuln IDs
-
- V-259126
- Rule IDs
-
- SV-259126r960963_rule
Checks: C-62866r935280_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-vsphere-ui/server/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' - Example result: XPath set is empty If the "listings" parameter is specified and is not "false", this is a finding. If the "listings" parameter does not exist, this is not a finding.
Fix: F-62775r935281_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/web.xml Find and remove the entire block returned in the check. Example: <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000138
- Vuln IDs
-
- V-259127
- Rule IDs
-
- SV-259127r960963_rule
Checks: C-62867r935283_chk
At the command prompt, run the following command: # xmllint --xpath "//Host/@deployXML" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: deployXML="false" If "deployXML" does not equal "false", this is a finding.
Fix: F-62776r935284_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to the <Host> node and configure with the value "deployXML="false"". Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000139
- Vuln IDs
-
- V-259128
- Rule IDs
-
- SV-259128r960963_rule
Checks: C-62868r935286_chk
At the command prompt, run the following command: # xmllint --xpath "//Host/@autoDeploy" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Expected result: autoDeploy="false" If "autoDeploy" does not equal "false", this is a finding.
Fix: F-62777r935287_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to the <Host> node and configure with the value "autoDeploy="false"". Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000140
- Vuln IDs
-
- V-259129
- Rule IDs
-
- SV-259129r960963_rule
Checks: C-62869r935289_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector/@xpoweredBy" /usr/lib/vmware-vsphere-ui/server/conf/server.xml Example result: XPath set is empty If the "xpoweredBy" parameter is specified and is not "false", this is a finding. If the "xpoweredBy" parameter does not exist, this is not a finding.
Fix: F-62778r935290_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/server.xml Navigate to the <Connector> node and remove the "xpoweredBy" attribute. Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000141
- Vuln IDs
-
- V-259130
- Rule IDs
-
- SV-259130r960963_rule
Checks: C-62870r935292_chk
At the command prompt, run the following command: # ls -l /usr/lib/vmware-vsphere-ui/server/webapps/examples If the examples folder exists or contains any content, this is a finding.
Fix: F-62779r935293_fix
At the command prompt, run the following command: # rm -rf /usr/lib/vmware-vsphere-ui/server/webapps/examples
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000142
- Vuln IDs
-
- V-259131
- Rule IDs
-
- SV-259131r960963_rule
Checks: C-62871r935295_chk
At the command prompt, run the following command: # ls -l /usr/lib/vmware-vsphere-ui/server/webapps/ROOT If the ROOT web application contains any content, this is a finding.
Fix: F-62780r935296_fix
At the command prompt, run the following command: # rm -rf /usr/lib/vmware-vsphere-ui/server/webapps/ROOT/*
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000143
- Vuln IDs
-
- V-259132
- Rule IDs
-
- SV-259132r960963_rule
Checks: C-62872r935298_chk
At the command prompt, run the following command: # ls -l /usr/lib/vmware-vsphere-ui/server/webapps/docs If the "docs" folder exists or contains any content, this is a finding.
Fix: F-62781r935299_fix
At the command prompt, run the following command: # rm -rf /usr/lib/vmware-vsphere-ui/server/webapps/docs
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCUI-80-000151
- Vuln IDs
-
- V-259133
- Rule IDs
-
- SV-259133r961863_rule
Checks: C-62873r935301_chk
At the command line, run the following command: # grep ALLOW_BACKSLASH /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Example result: org.apache.catalina.connector.ALLOW_BACKSLASH=false If "org.apache.catalina.connector.ALLOW_BACKSLASH" is not set to "false", this is a finding. If the "org.apache.catalina.connector.ALLOW_BACKSLASH" setting does not exist, this is not a finding.
Fix: F-62782r935302_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Update or remove the following line: org.apache.catalina.connector.ALLOW_BACKSLASH=false Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCUI-80-000152
- Vuln IDs
-
- V-259134
- Rule IDs
-
- SV-259134r961863_rule
Checks: C-62874r935304_chk
At the command line, run the following command: # grep ENFORCE_ENCODING_IN_GET_WRITER /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Example result: org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER=true If "org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER" is not set to "true", this is a finding. If the "org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER" setting does not exist, this is not a finding.
Fix: F-62783r935305_fix
Navigate to and open: /usr/lib/vmware-vsphere-ui/server/conf/catalina.properties Update or remove the following line: org.apache.catalina.connector.response.ENFORCE_ENCODING_IN_GET_WRITER=true Restart the service with the following command: # vmon-cli --restart vsphere-ui
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000154
- Vuln IDs
-
- V-259135
- Rule IDs
-
- SV-259135r960963_rule
Checks: C-62875r935307_chk
At the command prompt, run the following command: # ls -l /usr/lib/vmware-vsphere-ui/server/webapps/manager If the manager folder exists or contains any content, this is a finding.
Fix: F-62784r935308_fix
At the command prompt, run the following command: # rm -rf /usr/lib/vmware-vsphere-ui/server/webapps/manager
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCUI-80-000155
- Vuln IDs
-
- V-259136
- Rule IDs
-
- SV-259136r1003680_rule
Checks: C-62876r1003679_chk
At the command prompt, run the following command: # ls -l /usr/lib/vmware-vsphere-ui/server/webapps/host-manager If the host-manager folder exists or contains any content, this is a finding.
Fix: F-62785r935311_fix
At the command prompt, run the following command: # rm -rf /usr/lib/vmware-vsphere-ui/server/webapps/host-manager