VMware vSphere 7.0 vCenter Appliance Perfcharts Security Technical Implementation Guide
Pick two releases to diff their requirements.
Open a previous version of this STIG.
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCPF-70-000001
- Vuln IDs
-
- V-256611
- Rule IDs
-
- SV-256611r888324_rule
Checks: C-60286r888322_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector/@connectionTimeout' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: connectionTimeout="20000" If the output does not match the expected result, this is a finding.
Fix: F-60229r888323_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Navigate to each of the <Connector> nodes. Configure each <Connector> node with the value: connectionTimeout="20000" Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCPF-70-000002
- Vuln IDs
-
- V-256612
- Rule IDs
-
- SV-256612r888327_rule
Checks: C-60287r888325_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Executor/@maxThreads' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: maxThreads="300" If the output does not match the expected result, this is a finding.
Fix: F-60230r888326_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Navigate to the <Executor> mode with the name of "tomcatThreadPool" and configure with the value 'maxThreads="300"'. Note: The <Executor> node should be configured as follows: <Executor maxThreads="300" minSpareThreads="50" name="tomcatThreadPool" namePrefix="tomcat-http--"/> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCPF-70-000003
- Vuln IDs
-
- V-256613
- Rule IDs
-
- SV-256613r888330_rule
Checks: C-60288r888328_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector/@maxPostSize' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: XPath set is empty If the output does not match the expected result, this is a finding.
Fix: F-60231r888329_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Navigate to each of the <Connector> nodes. Remove any configuration for "maxPostSize". Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- AC-10
- Severity
- M
- CCI
- CCI-000054
- Version
- VCPF-70-000004
- Vuln IDs
-
- V-256614
- Rule IDs
-
- SV-256614r888333_rule
Checks: C-60289r888331_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed '2 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-60232r888332_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml Navigate to the <session-config> node and configure it as follows: <session-config> <cookie-config> <http-only>true</http-only> <secure>true</secure> </cookie-config> <session-timeout>30</session-timeout> </session-config> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- AC-17
- Severity
- M
- CCI
- CCI-000067
- Version
- VCPF-70-000005
- Vuln IDs
-
- V-256615
- Rule IDs
-
- SV-256615r888336_rule
Checks: C-60290r888334_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml | sed '2 s/xmlns=".*"//g' | 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 &quot;%r&quot; %s %b &quot;%{User-Agent}i&quot;" If the output does not match the expected result, this is a finding.
Fix: F-60233r888335_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/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 "%{User-Agent}i"" Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- AU-12
- Severity
- M
- CCI
- CCI-000169
- Version
- VCPF-70-000006
- Vuln IDs
-
- V-256616
- Rule IDs
-
- SV-256616r888339_rule
Checks: C-60291r888337_chk
At the command prompt, run the following command: # grep StreamRedirectFile /etc/vmware/vmware-vmon/svcCfgfiles/perfcharts.json Expected result: "StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/perfcharts/vmware-perfcharts-runtime.log", If the output does not match the expected result, this is a finding.
Fix: F-60234r888338_fix
Navigate to and open: /etc/vmware/vmware-vmon/svcCfgfiles/perfcharts.json Below the last line of the "PreStartCommandArg" block, add the following line: "StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/perfcharts/vmware-perfcharts-runtime.log", Restart the appliance for changes to take effect.
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-000162
- Version
- VCPF-70-000007
- Vuln IDs
-
- V-256617
- Rule IDs
-
- SV-256617r888342_rule
Checks: C-60292r888340_chk
At the command prompt, run the following command: # find /storage/log/vmware/perfcharts/ -xdev -type f -a '(' -perm -o+w -o -not -user perfcharts -o -not -group users ')' -exec ls -ld {} \; If any files are returned, this is a finding.
Fix: F-60235r888341_fix
At the command prompt, run the following commands: # chmod o-w <file> # chown perfcharts:users <file> Note: Substitute <file> with the listed file.
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001749
- Version
- VCPF-70-000008
- Vuln IDs
-
- V-256618
- Rule IDs
-
- SV-256618r888345_rule
Checks: C-60293r888343_chk
At the command prompt, run the following command: # rpm -V VMware-perfcharts|grep "^..5......"|grep -v -E "\.properties|\.conf|\.xml|\.password" If any files are returned, this is a finding.
Fix: F-60236r888344_fix
Reinstall the vCenter Server Appliance (VCSA) or roll back to a backup. VMware does not support modifying the Performance Charts installation files manually.
- RMF Control
- CM-5
- Severity
- M
- CCI
- CCI-001749
- Version
- VCPF-70-000009
- Vuln IDs
-
- V-256619
- Rule IDs
-
- SV-256619r888348_rule
Checks: C-60294r888346_chk
At the command prompt, run the following command: # ls -A /usr/lib/vmware-perfcharts/tc-instance/webapps Expected result: statsreport If the output does not match the expected result, this is a finding.
Fix: F-60237r888347_fix
For each unexpected directory returned in the check, run the following command: # rm /usr/lib/vmware-perfcharts/tc-instance/webapps/<NAME> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000010
- Vuln IDs
-
- V-256620
- Rule IDs
-
- SV-256620r888351_rule
Checks: C-60295r888349_chk
At the command prompt, run the following command: # grep UserDatabaseRealm /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml If the command produces any output, this is a finding.
Fix: F-60238r888350_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Remove the <Realm> node returned in the check. Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000011
- Vuln IDs
-
- V-256621
- Rule IDs
-
- SV-256621r888354_rule
Checks: C-60296r888352_chk
At the command prompt, run the following command: # grep "package.access" /usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties Expected result: package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.tomcat. If the output of the command does not match the expected result, this is a finding.
Fix: F-60239r888353_fix
Navigate to and open: /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties Ensure the "package.access" line is configured as follows: package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.tomcat. Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000012
- Vuln IDs
-
- V-256622
- Rule IDs
-
- SV-256622r888357_rule
Checks: C-60297r888355_chk
At the command prompt, run the following command: # grep -En '(x-csh<)|(x-sh<)|(x-shar<)|(x-ksh<)' /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml If the command produces any output, this is a finding.
Fix: F-60240r888356_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml Remove any and all of the following nodes lines: <mime-type>application/x-csh</mime-type> <mime-type>application/x-shar</mime-type> <mime-type>application/x-sh</mime-type> <mime-type>application/x-ksh</mime-type> Restart the service with the following command: # vmon-cli --restart perfcharts Note: Delete the entire mime-mapping node for the target mime-type. Example: <mime-mapping> <extension>sh</extension> <mime-type>application/x-sh</mime-type> </mime-mapping>
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000013
- Vuln IDs
-
- V-256623
- Rule IDs
-
- SV-256623r888360_rule
Checks: C-60298r888358_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/servlet-mapping/servlet-name[text()="jsp"]/parent::servlet-mapping' - Expected result: <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.jsp</url-pattern> <url-pattern>*.jspx</url-pattern> </servlet-mapping> If the output of the command does not match the expected result, this is a finding.
Fix: F-60241r888359_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml Inside the <web-app> parent node, add the following: <servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.jsp</url-pattern> <url-pattern>*.jspx</url-pattern> </servlet-mapping> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000014
- Vuln IDs
-
- V-256624
- Rule IDs
-
- SV-256624r888363_rule
Checks: C-60299r888361_chk
At the command prompt, run the following command: # grep -n 'webdav' /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml If the command produces any output, this is a finding.
Fix: F-60242r888362_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml Find the <servlet-name>webdav</servlet-name> node and remove the entire parent <servlet> block. Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000015
- Vuln IDs
-
- V-256625
- Rule IDs
-
- SV-256625r888366_rule
Checks: C-60300r888364_chk
At the command prompt, run the following command: # grep JreMemoryLeakPreventionListener /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/> If the output of the command does not match the expected result, this is a finding.
Fix: F-60243r888365_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Navigate to the <Server> node. Add '<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>' to the <Server> node. Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-000381
- Version
- VCPF-70-000016
- Vuln IDs
-
- V-256626
- Rule IDs
-
- SV-256626r888369_rule
Checks: C-60301r888367_chk
At the command prompt, run the following command: # find /usr/lib/vmware-perfcharts/tc-instance/webapps/ -type l -ls If the command produces any output, this is a finding.
Fix: F-60244r888368_fix
At the command prompt, run the following command: Note: Replace <file_name> for the name of any files that were returned. # unlink <file_name> Repeat the command for each file that was returned.
- RMF Control
- SC-2
- Severity
- M
- CCI
- CCI-001082
- Version
- VCPF-70-000017
- Vuln IDs
-
- V-256627
- Rule IDs
-
- SV-256627r888372_rule
Checks: C-60302r888370_chk
At the command prompt, run the following command: # find /usr/lib/vmware-perfcharts/tc-instance/webapps/ -xdev -type f -a '(' -not -user root -a -not -user perfcharts -o -not -group root ')' -exec ls -la {} \; If the command produces any output, this is a finding.
Fix: F-60245r888371_fix
At the command prompt, run the following command: # chown root:root <file_name> Repeat the command for each file that was returned. Note: Replace <file_name> for the name of the file that was returned.
- RMF Control
- SC-24
- Severity
- M
- CCI
- CCI-001190
- Version
- VCPF-70-000018
- Vuln IDs
-
- V-256628
- Rule IDs
-
- SV-256628r888375_rule
Checks: C-60303r888373_chk
At the command line, run the following command: # grep EXIT_ON_INIT_FAILURE /usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties Expected result: org.apache.catalina.startup.EXIT_ON_INIT_FAILURE = true If the output of the command does not match the expected result, this is a finding.
Fix: F-60246r888374_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/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 perfcharts
- RMF Control
- SC-5
- Severity
- M
- CCI
- CCI-001094
- Version
- VCPF-70-000019
- Vuln IDs
-
- V-256629
- Rule IDs
-
- SV-256629r888378_rule
Checks: C-60304r888376_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector/@acceptCount' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: acceptCount="300" If the output does not match the expected result, this is a finding.
Fix: F-60247r888377_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Configure the <Connector> node with the value: acceptCount="300" Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-10
- Severity
- M
- CCI
- CCI-001310
- Version
- VCPF-70-000020
- Vuln IDs
-
- V-256630
- Rule IDs
-
- SV-256630r888381_rule
Checks: C-60305r888379_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector/@URIEncoding' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: URIEncoding="UTF-8" If the output does not match the expected result, this is a finding.
Fix: F-60248r888380_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Configure the <Connector> node with the value 'URIEncoding="UTF-8"'. Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-10
- Severity
- M
- CCI
- CCI-001310
- Version
- VCPF-70-000021
- Vuln IDs
-
- V-256631
- Rule IDs
-
- SV-256631r888384_rule
Checks: C-60306r888382_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/filter-mapping/filter-name[text()="setCharacterEncodingFilter"]/parent::filter-mapping' - Expected result: <filter-mapping> <filter-name>setCharacterEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> If the output is does not match the expected result, this is a finding. At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/filter/filter-name[text()="setCharacterEncodingFilter"]/parent::filter' - Expected result: <filter> <filter-name>setCharacterEncodingFilter</filter-name> <filter-class> org.apache.catalina.filters.SetCharacterEncodingFilter </filter-class> <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> <async-supported>true</async-supported> </filter> If the output is does not match the expected result, this is a finding.
Fix: F-60249r888383_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/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> <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> <async-supported>true</async-supported> </filter> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000022
- Vuln IDs
-
- V-256632
- Rule IDs
-
- SV-256632r888387_rule
Checks: C-60307r888385_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/welcome-file-list' - Expected result: <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> If the output of the command does not match the expected result, this is a finding.
Fix: F-60250r888386_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml Add the following section under the <web-apps> node: <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000023
- Vuln IDs
-
- V-256633
- Rule IDs
-
- SV-256633r888390_rule
Checks: C-60308r888388_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="listings"]/parent::init-param' - Expected result: <init-param> <param-name>listings</param-name> <param-value>false</param-value> </init-param> If the output of the command does not match the expected result, this is a finding.
Fix: F-60251r888389_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml Set the <param-value> to "false" in all <param-name>listing</param-name> nodes. Note: The setting should look like the following: <init-param> <param-name>listings</param-name> <param-value>false</param-value> </init-param> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000024
- Vuln IDs
-
- V-256634
- Rule IDs
-
- SV-256634r888393_rule
Checks: C-60309r888391_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/error-page/exception-type["text()=java.lang.Throwable"]/parent::error-page' - Expected result: <error-page> <exception-type>java.lang.Throwable</exception-type> <location>/http_error.jsp</location> </error-page> If the output does not match the expected result, this is a finding.
Fix: F-60252r888392_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml Add the following section under the <web-apps> node: <error-page> <exception-type>java.lang.Throwable</exception-type> <location>/http_error.jsp</location> </error-page> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000025
- Vuln IDs
-
- V-256635
- Rule IDs
-
- SV-256635r888396_rule
Checks: C-60310r888394_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-perfcharts/tc-instance/conf/server.xml Expected result: <Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/> If the output of the command does not match the expected result, this is a finding.
Fix: F-60253r888395_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Locate the following Host block: <Host ...> ... </Host> Inside this block, add 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 perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000026
- Vuln IDs
-
- V-256636
- Rule IDs
-
- SV-256636r888399_rule
Checks: C-60311r888397_chk
At the command prompt, run the following command: # xmllint --xpath '/Server/Service/Connector/@server' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Expected result: server="Anonymous" If the output of the command does not match the expected result, this is a finding.
Fix: F-60254r888398_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Configure the <Connector> node with the following value: server="Anonymous" Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000027
- Vuln IDs
-
- V-256637
- Rule IDs
-
- SV-256637r888402_rule
Checks: C-60312r888400_chk
At the command prompt, run the following command: # grep allowTrace /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml If "allowTrace" is set to "true", this is a finding. If no line is returned, this is not a finding.
Fix: F-60255r888401_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml Locate and navigate to 'allowTrace="true"'. Remove the 'allowTrace="true"' setting. Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SI-11
- Severity
- M
- CCI
- CCI-001312
- Version
- VCPF-70-000028
- Vuln IDs
-
- V-256638
- Rule IDs
-
- SV-256638r888405_rule
Checks: C-60313r888403_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="debug"]/parent::init-param' - Expected result: <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> If the output of the command does not match the expected result, this is a finding. If no lines is returned, this is not a finding.
Fix: F-60256r888404_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/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 perfcharts
- RMF Control
- AU-4
- Severity
- M
- CCI
- CCI-001849
- Version
- VCPF-70-000029
- Vuln IDs
-
- V-256639
- Rule IDs
-
- SV-256639r888408_rule
Checks: C-60314r888406_chk
At the command prompt, run the following command: # rpm -V VMware-perfcharts|grep log4j|grep "^..5......" If the command returns any output, this is a finding.
Fix: F-60257r888407_fix
Navigate to and open: /etc/vmware-perfcharts/log4j.properties Ensure the appender.rolling entries are configured as follows: appender.rolling.type = RollingFile appender.rolling.name = FileLog appender.rolling.fileName = /var/log/vmware/perfcharts/stats.log appender.rolling.filePattern = /var/log/vmware/perfcharts/stats-%i.log appender.rolling.policies.type = Policies appender.rolling.policies.size.type = SizeBasedTriggeringPolicy appender.rolling.policies.size.size = 5MB appender.rolling.strategy.type = DefaultRolloverStrategy appender.rolling.strategy.max = 10 appender.rolling.layout.type = PatternLayout appender.rolling.layout.pattern = %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX} [%t %-5p %c] %m%n appender.rolling.level = info Note: This fix is currently only applicable to 7.0 U2+ and is different in older versions.
- RMF Control
- AU-9
- Severity
- M
- CCI
- CCI-001348
- Version
- VCPF-70-000030
- Vuln IDs
-
- V-256640
- Rule IDs
-
- SV-256640r888411_rule
Checks: C-60315r888409_chk
At the command prompt, run the following command: # rpm -V VMware-visl-integration|grep vmware-services-perfcharts.conf|grep "^..5......" If the command returns any output, this is a finding.
Fix: F-60258r888410_fix
Navigate to and open: /etc/vmware-syslog/vmware-services-perfcharts.conf Create the file if it does not exist. Set the contents of the file as follows: #stats input(type="imfile" File="/var/log/vmware/perfcharts/stats.log" Tag="perfcharts-stats" Severity="info" Facility="local0") #localhost_access_log input(type="imfile" File="/var/log/vmware/perfcharts/localhost_access_log.txt" Tag="perfcharts-localhost_access" Severity="info" Facility="local0") #vmware-perfcharts-gc.log input(type="imfile" File="/var/log/vmware/perfcharts/vmware-perfcharts-gc.log.*.current" Tag="perfcharts-gc" Severity="info" Facility="local0") #vmware-perfcharts-runtime.log input(type="imfile" File="/var/log/vmware/perfcharts/vmware-perfcharts-runtime.log.std*" Tag="perfcharts-runtime" Severity="info" Facility="local0")
- RMF Control
- CM-7
- Severity
- M
- CCI
- CCI-001762
- Version
- VCPF-70-000031
- Vuln IDs
-
- V-256641
- Rule IDs
-
- SV-256641r888414_rule
Checks: C-60316r888412_chk
At the command prompt, run the following command: # grep '^bio\.' /usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties Expected result: bio.http.port=13080 If the output of the command does not match the expected result, this is a finding.
Fix: F-60259r888413_fix
Navigate to and open: /etc/vmware-eam/catalina.properties Navigate to the ports specification section. Add or modify the following lines: bio.http.port=13080 Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SC-5
- Severity
- M
- CCI
- CCI-002385
- Version
- VCPF-70-000032
- Vuln IDs
-
- V-256642
- Rule IDs
-
- SV-256642r888417_rule
Checks: C-60317r888415_chk
At the command prompt, run the following command: # grep base.shutdown.port /usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties Expected result: base.shutdown.port=-1 If the output of the command does not match the expected result, this is a finding.
Fix: F-60260r888416_fix
Navigate to and open: /etc/vmware-eam/catalina.properties Navigate to the ports specification section. Add or modify the following line: base.shutdown.port=-1 Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- SC-8
- Severity
- M
- CCI
- CCI-002418
- Version
- VCPF-70-000033
- Vuln IDs
-
- V-256643
- Rule IDs
-
- SV-256643r888420_rule
Checks: C-60318r888418_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/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-60261r888419_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml Navigate to the <session-config> node and configure it as follows: <session-config> <cookie-config> <http-only>true</http-only> <secure>true</secure> </cookie-config> <session-timeout>6</session-timeout> </session-config> Restart the service with the following command: # vmon-cli --restart perfcharts
- RMF Control
- CM-6
- Severity
- M
- CCI
- CCI-000366
- Version
- VCPF-70-000034
- Vuln IDs
-
- V-256644
- Rule IDs
-
- SV-256644r888423_rule
Checks: C-60319r888421_chk
At the command prompt, run the following command: # xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/servlet/servlet-name[text()="default"]/../init-param/param-name[text()="readonly"]/../param-value[text()="false"]' - Expected result: XPath set is empty If the output of the command does not match the expected result, this is a finding.
Fix: F-60262r888422_fix
Navigate to and open: /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml Navigate to the /<web-apps>/<servlet>/<servlet-name>default</servlet-name>/ 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 perfcharts