VMware vSphere 8.0 vCenter Appliance Lookup Service 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-259070 Medium check The vCenter Lookup service host-manager webapp must be removed.
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCLU-80-000001
- Vuln IDs
-
- V-259037
- Rule IDs
-
- SV-259037r960735_rule
Checks: C-62777r934767_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Executor[@name="tomcatThreadPool"]/@maxThreads' /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: maxThreads="300" If the output does not match the expected result, this is a finding.
Fix: F-62686r934768_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Navigate to the <Executor> node with the name of tomcatThreadPool and configure with the value "maxThreads="300"". Note: The <Executor> node should be configured similar to the following: <Executor maxThreads="300" minSpareThreads="50" name="tomcatThreadPool" namePrefix="tomcat-http--"/> Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- VCLU-80-000005
- Vuln IDs
-
- V-259038
- Rule IDs
-
- SV-259038r960792_rule
Checks: C-62778r934770_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-lookupsvc/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-62687r934771_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- AU-14
- Severity
- M
- CCI
- CCI-001464
- Version
- VCLU-80-000013
- Vuln IDs
-
- V-259039
- Rule IDs
-
- SV-259039r960888_rule
Checks: C-62779r934773_chk
At the command prompt, run the following command: # grep StreamRedirectFile /etc/vmware/vmware-vmon/svcCfgfiles/lookupsvc.json Expected output: "StreamRedirectFile": "%VMWARE_LOG_DIR%/vmware/lookupsvc/lookupsvc_stream.log", If no log file is specified for the "StreamRedirectFile" setting, this is a finding.
Fix: F-62688r934774_fix
Navigate to and open: /etc/vmware/vmware-vmon/svcCfgfiles/lookupsvc.json Below the last line of the "PreStartCommandArg" block, add the following line: "StreamRedirectFile": "%VMWARE_LOG_DIR%/vmware/lookupsvc/lookupsvc_stream.log", Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000067
- Version
- VCLU-80-000014
- Vuln IDs
-
- V-259040
- Rule IDs
-
- SV-259040r960891_rule
Checks: C-62780r934776_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-lookupsvc/conf/server.xml Example result: pattern="%t %I [Request] &quot;%{User-Agent}i&quot; %{X-Forwarded-For}i/%h:%{remote}p %l %u to local %{local}p - &quot;%r&quot; %H %m %U%q [Response] %s - %b bytes [Perf] process %Dms / commit %Fms / conn [%X]" 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-62689r934777_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Inside the <Host> node, find the "AccessLogValve" <Valve> node and replace the "pattern" element as follows: pattern="%t %I [Request] "%{User-Agent}i" %{X-Forwarded-For}i/%h:%{remote}p %l %u to local %{local}p - "%r" %H %m %U%q [Response] %s - %b bytes [Perf] process %Dms / commit %Fms / conn [%X]" Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- VCLU-80-000025
- Vuln IDs
-
- V-259041
- Rule IDs
-
- SV-259041r960930_rule
Checks: C-62781r934779_chk
At the command prompt, run the following command: # find /var/log/vmware/lookupsvc/ -xdev ! -name lookupsvc-init.log ! -name lookupsvc-prestart.log -type f -a '(' -perm -o+w -o -not -user lookupsvc -o -not -group lookupsvc ')' -exec ls -ld {} \; If any files are returned, this is a finding.
Fix: F-62690r934780_fix
At the command prompt, run the following commands: # chmod o-w <file> # chown lookupsvc:lookupsvc <file> Note: Substitute <file> with the listed file.
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001499
- Version
- VCLU-80-000034
- Vuln IDs
-
- V-259042
- Rule IDs
-
- SV-259042r960960_rule
Checks: C-62782r934782_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Listener[@className="org.apache.catalina.security.SecurityListener"]' /usr/lib/vmware-lookupsvc/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-62691r934783_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000036
- Vuln IDs
-
- V-259043
- Rule IDs
-
- SV-259043r960963_rule
Checks: C-62783r934785_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector[@allowTrace = 'true']" /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62692r934786_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000382
- Version
- VCLU-80-000037
- Vuln IDs
-
- V-259044
- Rule IDs
-
- SV-259044r960966_rule
Checks: C-62784r934788_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector[(@port = '0') or not(@address)]" /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62693r934789_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Navigate to the <Connector> node and configure the port and address as follows: port="${bio-custom.http.port}" address="localhost" Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- SC-23
- Severity
- M
- CCI
- CCI-001664
- Version
- VCLU-80-000057
- Vuln IDs
-
- V-259045
- Rule IDs
-
- SV-259045r961116_rule
Checks: C-62785r934791_chk
At the command line, run the following command: # grep RECYCLE_FACADES /usr/lib/vmware-lookupsvc/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-62694r934792_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- SC-24
- Severity
- M
- CCI
- CCI-001190
- Version
- VCLU-80-000062
- Vuln IDs
-
- V-259046
- Rule IDs
-
- SV-259046r961122_rule
Checks: C-62786r934794_chk
At the command line, run the following command: # grep EXIT_ON_INIT_FAILURE /usr/lib/vmware-lookupsvc/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-62695r934795_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- SI-10
- Severity
- M
- CCI
- CCI-001310
- Version
- VCLU-80-000065
- Vuln IDs
-
- V-259047
- Rule IDs
-
- SV-259047r961158_rule
Checks: C-62787r934797_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector[@URIEncoding != 'UTF-8'] | //Connector[not[@URIEncoding]]" /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62696r934798_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Configure the <Connector> node with the value: URIEncoding="UTF-8" Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCLU-80-000067
- Vuln IDs
-
- V-259048
- Rule IDs
-
- SV-259048r961167_rule
Checks: C-62788r934800_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-lookupsvc/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-62697r934801_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- Severity
- M
- CCI
- CCI-004895
- Version
- VCLU-80-000070
- Vuln IDs
-
- V-259049
- Rule IDs
-
- SV-259049r1003620_rule
Checks: C-62789r934803_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-lookupsvc/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-62698r934804_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- AU-4
- Severity
- M
- CCI
- CCI-001851
- Version
- VCLU-80-000081
- Vuln IDs
-
- V-259050
- Rule IDs
-
- SV-259050r961395_rule
Checks: C-62790r934806_chk
By default, a vmware-services-lookupsvc.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-lookupsvc.conf Expected result: #catalina input(type="imfile" File="/var/log/vmware/lookupsvc/tomcat/catalina.*.log" Tag="lookupsvc-tc-catalina" Severity="info" Facility="local0") #localhost input(type="imfile" File="/var/log/vmware/lookupsvc/tomcat/localhost.*.log" Tag="lookupsvc-tc-localhost" Severity="info" Facility="local0") #localhost_access_log input(type="imfile" File="/var/log/vmware/lookupsvc/tomcat/localhost_access.log" Tag="lookupsvc-localhost_access" Severity="info" Facility="local0") #lookupsvc-init input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc-init.log" Tag="lookupsvc-init" Severity="info" Facility="local0") #prestart input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc-prestart.log" Tag="lookupsvc-prestart" Severity="info" Facility="local0") #health input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc-health.log" Tag="lookupsvc-health" Severity="info" Facility="local0") #lookupserver-default input(type="imfile" File="/var/log/vmware/lookupsvc/lookupserver-default.log" Tag="lookupsvc-lookupserver-default" Severity="info" Facility="local0") #lookupsvc_stream.log.std input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc_stream.log.std*" Tag="lookupsvc-std" Severity="info" Facility="local0") #ls-gc input(type="imfile" File="/var/log/vmware/lookupsvc/vmware-lookupsvc-gc.log.*.current" Tag="lookupsvc-gc" Severity="info" Facility="local0") If the output does not match the expected result, this is a finding.
Fix: F-62699r934807_fix
Navigate to and open: /etc/vmware-syslog/vmware-services-lookupsvc.conf Create the file if it does not exist. Set the contents of the file as follows: #catalina input(type="imfile" File="/var/log/vmware/lookupsvc/tomcat/catalina.*.log" Tag="lookupsvc-tc-catalina" Severity="info" Facility="local0") #localhost input(type="imfile" File="/var/log/vmware/lookupsvc/tomcat/localhost.*.log" Tag="lookupsvc-tc-localhost" Severity="info" Facility="local0") #localhost_access_log input(type="imfile" File="/var/log/vmware/lookupsvc/tomcat/localhost_access.log" Tag="lookupsvc-localhost_access" Severity="info" Facility="local0") #lookupsvc-init input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc-init.log" Tag="lookupsvc-init" Severity="info" Facility="local0") #prestart input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc-prestart.log" Tag="lookupsvc-prestart" Severity="info" Facility="local0") #health input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc-health.log" Tag="lookupsvc-health" Severity="info" Facility="local0") #lookupserver-default input(type="imfile" File="/var/log/vmware/lookupsvc/lookupserver-default.log" Tag="lookupsvc-lookupserver-default" Severity="info" Facility="local0") #lookupsvc_stream.log.std input(type="imfile" File="/var/log/vmware/lookupsvc/lookupsvc_stream.log.std*" Tag="lookupsvc-std" Severity="info" Facility="local0") #ls-gc input(type="imfile" File="/var/log/vmware/lookupsvc/vmware-lookupsvc-gc.log.*.current" Tag="lookupsvc-gc" Severity="info" Facility="local0")
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCLU-80-000124
- Vuln IDs
-
- V-259051
- Rule IDs
-
- SV-259051r961863_rule
Checks: C-62791r934809_chk
At the command line, run the following command: # grep STRICT_SERVLET_COMPLIANCE /usr/lib/vmware-lookupsvc/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-62700r934810_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCLU-80-000125
- Vuln IDs
-
- V-259052
- Rule IDs
-
- SV-259052r960735_rule
Checks: C-62792r934812_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-lookupsvc/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62701r934813_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Configure the <Connector> node with the value: connectionTimeout="60000" Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCLU-80-000126
- Vuln IDs
-
- V-259053
- Rule IDs
-
- SV-259053r960735_rule
Checks: C-62793r934815_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-lookupsvc/conf/server.xml Expected result: XPath set is empty If any connectors are returned, this is a finding.
Fix: F-62702r934816_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Configure the <Connector> node with the value: maxKeepAliveRequests="50" Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- SI-10
- Severity
- M
- CCI
- CCI-001310
- Version
- VCLU-80-000127
- Vuln IDs
-
- V-259054
- Rule IDs
-
- SV-259054r961158_rule
Checks: C-62794r934818_chk
At the command prompt, run the following command: # xmllint --xpath "//*[contains(text(), 'setCharacterEncodingFilter')]/parent::*" /usr/lib/vmware-lookupsvc/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-62703r934819_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- VCLU-80-000129
- Vuln IDs
-
- V-259055
- Rule IDs
-
- SV-259055r960792_rule
Checks: C-62795r934821_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-lookupsvc/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-62704r934822_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- AC-3
- Severity
- M
- CCI
- CCI-000213
- Version
- VCLU-80-000130
- Vuln IDs
-
- V-259056
- Rule IDs
-
- SV-259056r960792_rule
Checks: C-62796r934824_chk
At the command prompt, run the following command: # xmllint --xpath "//*[contains(text(), 'DefaultServlet')]/parent::*" /usr/lib/vmware-lookupsvc/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-62705r934825_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000134
- Vuln IDs
-
- V-259057
- Rule IDs
-
- SV-259057r960963_rule
Checks: C-62797r934827_chk
At the command prompt, run the following commands: # xmllint --xpath "//Server/@port" /usr/lib/vmware-lookupsvc/conf/server.xml # grep 'base.shutdown.port' /usr/lib/vmware-lookupsvc/conf/catalina.properties Example results: port="${base.shutdown.port}" base.shutdown.port=-1 If "port" does not equal "${base.shutdown.port}", this is a finding. If "base.shutdown.port" does not equal "-1", this is a finding.
Fix: F-62706r934828_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/catalina.properties Add or modify the setting "base.shutdown.port=-1" in the "catalina.properties" file. Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Configure the <Server> node with the value: port="${base.shutdown.port}" Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000136
- Vuln IDs
-
- V-259058
- Rule IDs
-
- SV-259058r960963_rule
Checks: C-62798r934830_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-lookupsvc/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-62707r934831_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000137
- Vuln IDs
-
- V-259059
- Rule IDs
-
- SV-259059r960963_rule
Checks: C-62799r934833_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-lookupsvc/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-62708r934834_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000138
- Vuln IDs
-
- V-259060
- Rule IDs
-
- SV-259060r960963_rule
Checks: C-62800r934836_chk
At the command prompt, run the following command: # xmllint --xpath "//Host/@deployXML" /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: deployXML="false" If "deployXML" does not equal "false", this is a finding.
Fix: F-62709r934837_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000139
- Vuln IDs
-
- V-259061
- Rule IDs
-
- SV-259061r960963_rule
Checks: C-62801r934839_chk
At the command prompt, run the following command: # xmllint --xpath "//Host/@autoDeploy" /usr/lib/vmware-lookupsvc/conf/server.xml Expected result: autoDeploy="false" If "autoDeploy" does not equal "false", this is a finding.
Fix: F-62710r934840_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000140
- Vuln IDs
-
- V-259062
- Rule IDs
-
- SV-259062r960963_rule
Checks: C-62802r934842_chk
At the command prompt, run the following command: # xmllint --xpath "//Connector/@xpoweredBy" /usr/lib/vmware-lookupsvc/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-62711r934843_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/conf/server.xml Navigate to the <Connector> node and remove the "xpoweredBy" attribute. Restart the service with the following command: # vmon-cli --restart lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000141
- Vuln IDs
-
- V-259063
- Rule IDs
-
- SV-259063r960963_rule
Checks: C-62803r934845_chk
At the command prompt, run the following command: # ls -l /var/opt/apache-tomcat/webapps/examples If the examples folder exists or contains any content, this is a finding.
Fix: F-62712r934846_fix
At the command prompt, run the following command: # rm -rf /var/opt/apache-tomcat/webapps/examples
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000142
- Vuln IDs
-
- V-259064
- Rule IDs
-
- SV-259064r960963_rule
Checks: C-62804r934848_chk
At the command prompt, run the following command: # ls -l /var/opt/apache-tomcat/webapps/ROOT If the ROOT web application contains any content, this is a finding.
Fix: F-62713r934849_fix
At the command prompt, run the following command: # rm -rf /var/opt/apache-tomcat/webapps/ROOT/*
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000143
- Vuln IDs
-
- V-259065
- Rule IDs
-
- SV-259065r960963_rule
Checks: C-62805r934851_chk
At the command prompt, run the following command: # ls -l /var/opt/apache-tomcat/webapps/docs If the "docs" folder exists or contains any content, this is a finding.
Fix: F-62714r934852_fix
At the command prompt, run the following command: # rm -rf /var/opt/apache-tomcat/webapps/docs
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001813
- Version
- VCLU-80-000144
- Vuln IDs
-
- V-259066
- Rule IDs
-
- SV-259066r961461_rule
Checks: C-62806r934854_chk
At the command prompt, run the following command: # find /usr/lib/vmware-lookupsvc/ -xdev -type f -a '(' -perm -o+w -o -not -user root -o -not -group root ')' -exec ls -ld {} \; If any files are returned, this is a finding.
Fix: F-62715r934855_fix
At the command prompt, run the following commands: # chmod o-w <file> # chown root:root <file> Note: Substitute <file> with the listed file.
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCLU-80-000151
- Vuln IDs
-
- V-259067
- Rule IDs
-
- SV-259067r961863_rule
Checks: C-62807r934857_chk
At the command line, run the following command: # grep ALLOW_BACKSLASH /usr/lib/vmware-lookupsvc/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-62716r934858_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCLU-80-000152
- Vuln IDs
-
- V-259068
- Rule IDs
-
- SV-259068r961863_rule
Checks: C-62808r934860_chk
At the command line, run the following command: # grep ENFORCE_ENCODING_IN_GET_WRITER /usr/lib/vmware-lookupsvc/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-62717r934861_fix
Navigate to and open: /usr/lib/vmware-lookupsvc/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 lookupsvc
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000154
- Vuln IDs
-
- V-259069
- Rule IDs
-
- SV-259069r960963_rule
Checks: C-62809r934863_chk
At the command prompt, run the following command: # ls -l /var/opt/apache-tomcat/webapps/manager If the manager folder exists or contains any content, this is a finding.
Fix: F-62718r934864_fix
At the command prompt, run the following command: # rm -rf /var/opt/apache-tomcat/webapps/manager
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCLU-80-000155
- Vuln IDs
-
- V-259070
- Rule IDs
-
- SV-259070r1003622_rule
Checks: C-62810r1003621_chk
At the command prompt, run the following command: # ls -l /var/opt/apache-tomcat/webapps/host-manager If the host-manager folder exists or contains any content, this is a finding.
Fix: F-62719r934867_fix
At the command prompt, run the following command: # rm -rf /var/opt/apache-tomcat/webapps/host-manager