SV-258989r1137578_rule
V-258989
SRG-APP-000033-AS-000024
VCST-80-000130
CAT II
10
Navigate to and open:
/usr/lib/vmware-sso/vmware-sts/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 sts
At the command prompt, run the following command:
# xmllint --xpath "//*[contains(text(), 'DefaultServlet')]/parent::*" /usr/lib/vmware-sso/vmware-sts/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.
V-258989
False
VCST-80-000130
At the command prompt, run the following command:
# xmllint --xpath "//*[contains(text(), 'DefaultServlet')]/parent::*" /usr/lib/vmware-sso/vmware-sts/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.
M
5567