2.4.1 Ensure NGINX only listens for network connections on authorized ports

Information

NGINX can be configured to listen on any port, but it should be configured to listen on authorized ports only.

Rationale:

Limiting the listening ports to only those that are authorized helps to ensure no unauthorized services are running through the use of NGINX.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

If any ports are listening that are not authorized, comment out or delete the associated configuration for that listener.

Default Value:

Only port 80 is listening by default.

See Also

https://workbench.cisecurity.org/benchmarks/17381

Item Details

Category: PLANNING, SYSTEM AND SERVICES ACQUISITION

References: 800-53|PL-8, 800-53|SA-8, CSCv7|9.2

Plugin: Unix

Control ID: 103380a0868f613af5e4204b0517fa403ec3200e0c8381f67a1867804ea50f7e