Rule ID
SV-240066r879631_rule
Version
V1R2
CCIs
Allowing anonymous users the capability to change the web server or the hosted application will not generate proper log information that can then be used for forensic reporting in the case of a security issue. Allowing anonymous users to make changes will also grant change capabilities to anybody without forcing a user to authenticate before the changes can be made.
At the command prompt, execute the following command:
ls -alR /etc/haproxy /var/lib/haproxy /usr/sbin/haproxy | grep -E '^-' | awk '{print $1}' | cut -c9 | grep w
If the command returns any value, this is a finding.Navigate to and remove anonymous permissions for any listed files.