SV-278393r1171931_rule
V-278393
SRG-APP-000206
NGNX-APP-000850
CAT II
10
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.
Remove any unnecessary or unpermitted modules from the configuration.
After saving the configuration, reload NGINX:
# nginx -s reload
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.
# grep load_module /etc/nginx/nginx.conf
load_module modules/ngx_http_app_protect_module.so;
If modules are loaded that are not required or known, this is a finding.
V-278393
False
NGNX-APP-000850
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.
# grep load_module /etc/nginx/nginx.conf
load_module modules/ngx_http_app_protect_module.so;
If modules are loaded that are not required or known, this is a finding.
M
5720