GSA / GSA/ansible-https-proxy

Disable server_tokens directive in NGINX

Đang mở
#9 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
10
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

>Draft CIS Benchmark 1.1.10

## Description
By default NGINX will happily tell a user what version of NGINX is in use. This is valuable information to an attacker, and should be turned off by making use of the `server\_tokens` directive.

## Rationale
Potential attackers may check if your version of NGINX contains known vulnerabilities. Hiding the version will slow down and mitigate potential attackers.

## Remediation
To disable the `server\_tokens` directive, set if to `off` inside a `server` block in your `nginx.conf`: ``` server { ... server_tokens off; ... } ```

## Audit
In the NGINX configuration file `nginx.conf` ensure the `server\_tokens` directive is set to `off`. You can also check a 404 page provided by NGINX and see if it displays a version number.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.