MongoDB
TMA-MONGODB-4.2
Ensure Weak Protocols are Disabled
AltaNível 1Automatizadamongodb
Descrição
Servers can be configured to disable specific TLS/SSL protocol versions which may be vulnerable to exploitation and/or lack features which improve the level of security as provided by newer versions of the protocol. Checks the YAML config file /etc/mongod.conf (SKIP when it does not exist).
Como é verificado
Método de auditoria: Padrão de arquivo
- Arquivo
/etc/mongod.conf- Padrão
(?m)^[ \t]*(?:disabledProtocols|sslDisabledProtocols):[^\n]*(?:TLS1_0[^\n]*TLS1_1|TLS1_1[^\n]*TLS1_0)
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Set net.tls.disabledProtocols: TLS1_0,TLS1_1 in /etc/mongod.conf (or start with --tlsDisabledProtocols TLS1_0,TLS1_1) and restart mongod.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- mongodbtlsencryption
- Referência
- CIS MongoDB 8 Benchmark v2.0.0 - 4.2 Ensure Weak Protocols are Disabled
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
shell
tmaegis scan --target mongodb