The vCenter VAMI service must have resource mappings set to disable the serving of certain file types.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-259144 | VCLD-80-000033 | SV-259144r1003700_rule | CCI-000381 | medium |
| Description | ||||
| Resource mapping is the process of tying a particular file type to a process in the web server that can serve that type of file to a requesting client and to identify which file types are not to be delivered to a client. By not specifying which files can and which files cannot be served to a user, VAMI could deliver sensitive files. | ||||
| STIG | Date | |||
| VMware vSphere 8.0 vCenter Appliance Management Interface (VAMI) Security Technical Implementation Guide | 2024-07-11 | |||
Related Frameworks
3 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-7
1.00
- DISA · V2R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.4.6
1.00
- DISA · V2R1 · 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 · V2R1 · disa_xccdf · related
Details
Check Text (C-259144r1003700_chk)
At the command prompt, run the following command:
# grep "url.access-deny" /var/lib/vmware/cap-lighttpd/lighttpd.conf
Example result:
url.access-deny = ( "~", ".inc" )
If "url.access-deny" is not set to "( "~", ".inc" )", this is a finding.
Note: The command must be run from a bash shell and not from a shell generated by the "appliance shell". Use the "chsh" command to change the shell for the account to "/bin/bash". Refer to KB Article 2100508 for more details:
https://kb.vmware.com/s/article/2100508
Fix Text (F-62793r1003699_fix)
Navigate to and open:
/var/lib/vmware/cap-lighttpd/lighttpd.conf
Add or reconfigure the following value:
url.access-deny = ( "~", ".inc" )
Restart the service with the following command:
# systemctl restart cap-lighttpd