SV-256963r1016551_rule
V-256963
SRG-APP-000439-WSR-000151
APWS-AT-000850
CAT I
10
As a System Administrator for each Automation Controller NGINX web server host, for each available server connection that is not handled or upgraded to SSL via an organizationally approved method, perform one of the following actions:
Remove the available server connections.
OR
Upgrade the connection via redirect to an SSL server connection.
OR
Rewrite the connection URL to an HTTPS server connection.
OR
Other organizationally defined handling method.
Reload the NGINX server configuration by executing the following:
pkill -HUP nginx
(Alternatively, reinstall Automation Controller for each web server host.)
As a System Administrator for each Automation Controller NGINX web server host, enumerate all available server connections:
NGINXCONF=$(nginx -V 2>&1 | tr ' ' '\n' | sed -ne '/conf-path/{s/.*conf-path=\(.*\)/\1/;p}')
grep '\s*listen'
NGINXCONF | grep -v ssl
Ensure each available server connection that does not use SSL upgrades this connection to use SSL via an allowed method:
- is redirected to an SSL server connection, e.g., "return 301 https://$host:443$request_uri";
- is rewritten to an SSL server URL, e.g., "rewrite ^ https://$host$request_uri? permanent;";
- is dropped silently;
- or used other organizationally approved connection handling.
Examine the NGINX configuration, for example:
vi $NGINXCONF
If any available server connection is not handled or upgraded to SSL via an organizationally approved method, this is a finding.
vi $NGINXCONF
If any available server connection is not handled or upgraded to SSL via an organizationally approved method, this is a finding.
V-256963
False
APWS-AT-000850
As a System Administrator for each Automation Controller NGINX web server host, enumerate all available server connections:
NGINXCONF=$(nginx -V 2>&1 | tr ' ' '\n' | sed -ne '/conf-path/{s/.*conf-path=\(.*\)/\1/;p}')
grep '\s*listen'
NGINXCONF | grep -v ssl
Ensure each available server connection that does not use SSL upgrades this connection to use SSL via an allowed method:
- is redirected to an SSL server connection, e.g., "return 301 https://$host:443$request_uri";
- is rewritten to an SSL server URL, e.g., "rewrite ^ https://$host$request_uri? permanent;";
- is dropped silently;
- or used other organizationally approved connection handling.
Examine the NGINX configuration, for example:
vi $NGINXCONF
If any available server connection is not handled or upgraded to SSL via an organizationally approved method, this is a finding.
vi $NGINXCONF
If any available server connection is not handled or upgraded to SSL via an organizationally approved method, this is a finding.
M
5535