UCF STIG Viewer Logo

HAProxy must not be started with the debug switch.


Overview

Finding ID Version Rule ID IA Controls Severity
V-89179 VRAU-HA-000320 SV-99829r1_rule Medium
Description
Information needed by an attacker to begin looking for possible vulnerabilities in a web server includes any information about the web server and plug-ins or modules being used. When debugging or trace information is enabled in a production web server, information about the web server, such as web server type, version, patches installed, plug-ins and modules installed, type of code being used by the hosted application, and any backends being used for data storage may be displayed. Since this information may be placed in logs and general messages during normal operation of the web server, an attacker does not need to cause an error condition to gain this information.
STIG Date
VMW vRealize Automation 7.x HA Proxy Security Technical Implementation Guide 2018-10-12

Details

Check Text ( C-88871r2_chk )
At the command prompt, execute the following command:

ps aux | grep '[h]aproxy' | grep '\s\-d\s'

If the command returns any value, this is a finding.
Fix Text (F-95921r1_fix)
Restart the HAProxy without the debug command line argument, which is "-d".