GSA / GSA/ansible-https-proxy

Restrict Write Access on NGINX Directories and Files

Đang mở
#4 0 bình luận 0 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.5

## Description
Permissions on NGINX directories should generally be rwxr-xr-x (755) and file permissions should be similar except not executable if executable is not appropriate. This applies to all of the NGINX software directories and files installed with the possible exception of the web document root `$NGINX\_PREFIX/html`. The directories and files in the web document root may have a designated group with write access to allow web content to be updated. In summary, the minimum recommendation is to not allow write access by other.

## Rationale
Restricting write permissions on the NGINX files and directories can help mitigate attacks that modify web content to provide unauthorized access, or to attack web clients.

## Remediation
Perform the following to remove other write access on the $NGINX\_PREFIX directories: ``` # chmod -R o-w $NGINX_PREFIX ```

## Audit
Identify files or directories in the NGINX directory with other write access, excluding symbolic links: ``` # find -L $NGINX_PREFIX \! -type l \! -type s -perm /o=w -ls ```

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.