GSA / GSA/ansible-https-proxy

Secure Core Dump Directory

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
10
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

>Draft CIS Benchmark 1.1.6

## Description
The `working\_directory` directive is used to specify the directory NGINX attempts to create the core dump. Core dumps will be disabled if the directory is not writable by the NGINX user. It is recommended that the `working\_directory` directive be set to a directory that is owned by the root user, owned by the group the NGINX process executes as, and be unaccessible to other users.

## Rationale
Core dumps are snapshots of memory and may contain sensitive information that should not be accessible by other accounts on the system.

## Remediation
Either remove the `working\_directory` directive from the NGINX configuration files or ensure that the configured directory meets the following requirements. 1. `working\_directory` is not to be within the NGINX web document root (`$NGINX\_PREFIX/html`) 2. Must be owned by `root `and have a group ownership of the NGINX group (primary group for `nginx` user) ``` # chown root:nginx /var/log/nginx ``` 3. Must have no read-write-search access permission for other users. ``` # chmod o-rwx /var/log/nginx ```

## Audit
Verify that either the `working\_directory` directive is not enabled in any of the NGINX configuration files or that the configured directory meets the following requirements: 1. `working\_directory` is not within the NGINX web document root `(`$NGINX\_PREFIX/html`)` 2. Must be owned by `root `and have a group ownership of the NGINX group (primary group for `nginx` user). 3. Must have no read-write-search access permission for other users. (e.g. `o=rwx`)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.