The vCenter STS service directory listings parameter must be disabled.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-258992 | VCST-80-000137 | SV-258992r934634_rule | CCI-000381 | medium |
| Description | ||||
| Enumeration techniques, such as URL parameter manipulation, rely on being able to obtain information about the web server's directory structure by locating directories without default pages. In this scenario, the web server will display to the user a listing of the files in the directory being accessed. Ensuring that directory listing is disabled is one approach to mitigating the vulnerability. In Tomcat, directory listing is disabled by default but can be enabled via the "listings" parameter. Ensure this node is not present to have the default effect. | ||||
| STIG | Date | |||
| VMware vSphere 8.0 vCenter Appliance Secure Token Service (STS) Security Technical Implementation Guide | 2023-10-29 | |||
Related Frameworks
3 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-7
1.00
- DISA · V1R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.4.6
1.00
- DISA · V1R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000381
1.00
- DISA · V1R1 · disa_xccdf · related
Details
Check Text (C-258992r934634_chk)
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-sso/vmware-sts/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 Text (F-62641r934633_fix)
Navigate to and open:
/usr/lib/vmware-sso/vmware-sts/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 sts