DPC: DPC-relata o scanner HSTS TTL Nessus incorreto

Zusammenfassung: O artigo aborda problemas com o scanner Nessus e as ferramentas Chrome Web Developer mostram o TTL do HSTS.

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Symptome

O scanner Nessus e as ferramentas Chrome Web Developer mostram o TTL do HSTS como 15.780.000 s (seis meses). 

A segurança exige que seja pelo menos 31536000 (um ano). 

Ursache

Esse é um problema com o scanner Nessus e as ferramentas da Web que não relatam informações corretas.

Lösung

Geralmente, esse é um falso positivo, pois a configuração padrão no DPC para HSTS é 63072000 (dois anos).

Para verificar as configurações, faça login no DPC usando SSH/Putty como administrador e su - para root e execute o seguinte comando:

  • curl -k -i https://<DPCFQDN> |less
    Em que <DPCFQDN> é o FQDN do servidor DPC.
  • Você obtém uma saída como a seguinte:
Server: nginx
Date: Wed, 22 Nov 2023 19:52:17 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 648123
Connection: keep-alive
X-DNS-Prefetch-Control: off
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Download-Options: noopen
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Last-Modified: Mon, 11 Sep 2023 12:07:27 GMT
ETag: W/"9e3bb-18a8423b418"
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=63072000; includeSubdomains;
Content-Security-Policy: frame-ancestors 'self'; object-src 'self'; default-src 'self' 'unsafe-inline' data:; script-src 'self' 'unsafe-inline';

A linha 'Strict-Transport-Security: max-age=63072000; includeSubdomains;' mostra que isso está definido como 63072000 s ou 2 anos.
Você também pode verificar o /etc/nginx/conf.d/default.conf , você verá as seguintes seções mostrando a idade máxima:
Seções mostrando a idade máxima

Abaixo está a saída das ferramentas de desenvolvedor da Web no Chrome para o mesmo sistema acima:
saída da Web Ferramentas de desenvolvedor no Chrome

Betroffene Produkte

Data Protection Central
Artikeleigenschaften
Artikelnummer: 000219815
Artikeltyp: Solution
Zuletzt geändert: 15 Juli 2025
Version:  2
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.