The vCenter Envoy service private key file must be protected from unauthorized access.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-259162 | SRG-APP-000176-WSR-000096 | VCRP-80-000040 | SV-259162r961041_rule | 2024-07-11 | 2 |
Description
Envoy's private key is used to prove the identity of the server to clients and securely exchange the shared secret key used to encrypt communications between the web server and clients.
By gaining access to the private key, an attacker can pretend to be an authorized server and decrypt the Transport Layer Security (TLS) traffic between a client and the web server.
ℹ️ Check
At the command prompt, run the following command:
# stat -c "%n permissions are %a, is owned by %U and group owned by %G" /etc/vmware-rhttpproxy/ssl/rui.key
Expected result:
/etc/vmware-rhttpproxy/ssl/rui.key permissions are 600, is owned by rhttpproxy and group owned by rhttpproxy
If the output does not match the expected result, this is a finding.
✔️ Fix
At the command prompt, run the following commands:
# chmod 600 /etc/vmware-rhttpproxy/ssl/rui.key
# chown rhttpproxy:rhttpproxy /etc/vmware-rhttpproxy/ssl/rui.key