SV-278405r1171967_rule
V-278405
SRG-APP-000439
NGNX-APP-001960
CAT II
10
Restrict TLS versions to FIPS-approved protocols:
ssl_protocols TLSv1.2 TLSv1.3;
Configure only FIPS compliant ciphers:
ssl_ciphers 'TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256';
Do not allow clients to select the ciphers:
ssl_prefer_server_ciphers on;
Restart NGINX to apply changes:
sudo nginx -t && sudo systemctl reload nginx
Determine the path to NGINX config file(s):
nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Examine the SSL configuration settings:
grep -R 'ssl_' /etc/nginx/nginx.conf
Verify TLS versions:
ssl_protocols TLSv1.2 TLSv1.3;
Verify cipher suites:
ssl_ciphers 'TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256';
ssl_prefer_server_ciphers on;
Note: The cipher list can be more restrictive if defined by the organization.
If non-FIPS ciphers or weak protocols (e.g., TLSv1.0/1.1, RC4, MD5, 3DES) are present, this is a finding.
V-278405
False
NGNX-APP-001960
Determine the path to NGINX config file(s):
nginx -qT | grep "# configuration"
# configuration file /etc/nginx/nginx.conf:
Note: The default NGINX configuration is "/etc/nginx/nginx.conf", though various files may also be included.
Examine the SSL configuration settings:
grep -R 'ssl_' /etc/nginx/nginx.conf
Verify TLS versions:
ssl_protocols TLSv1.2 TLSv1.3;
Verify cipher suites:
ssl_ciphers 'TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256';
ssl_prefer_server_ciphers on;
Note: The cipher list can be more restrictive if defined by the organization.
If non-FIPS ciphers or weak protocols (e.g., TLSv1.0/1.1, RC4, MD5, 3DES) are present, this is a finding.
M
5720