UCF STIG Viewer Logo

HAProxys private key must have access restricted.


Overview

Finding ID Version Rule ID IA Controls Severity
V-89165 VRAU-HA-000200 SV-99815r1_rule Medium
Description
HAProxy'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. Only authenticated system administrators or the designated PKI Sponsor for the web server must have access to the web server's private key. By gaining access to the private key, an attacker can pretend to be an authorized server and decrypt the encrypted traffic between a client and the web server.
STIG Date
VMW vRealize Automation 7.x HA Proxy Security Technical Implementation Guide 2018-10-12

Details

Check Text ( C-88857r1_chk )
At the command prompt, execute the following command:

ls -al /etc/apache2/server.pem

If the permissions on the file are not "600", this is a finding.
Fix Text (F-95907r1_fix)
At the command prompt, execute the following command:s:

chmod 600 /etc/apache2/server.pem