MongoDB
TMA-MONGODB-4.2
Ensure Weak Protocols are Disabled
AltaNivel 1Automatizadamongodb
Descripción
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).
Cómo se verifica
Método de auditoría: Patrón de archivo
- Archivo
/etc/mongod.conf- Patrón
(?m)^[ \t]*(?:disabledProtocols|sslDisabledProtocols):[^\n]*(?:TLS1_0[^\n]*TLS1_1|TLS1_1[^\n]*TLS1_0)
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Set net.tls.disabledProtocols: TLS1_0,TLS1_1 in /etc/mongod.conf (or start with --tlsDisabledProtocols TLS1_0,TLS1_1) and restart mongod.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- mongodbtlsencryption
- Referencia
- CIS MongoDB 8 Benchmark v2.0.0 - 4.2 Ensure Weak Protocols are Disabled
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target mongodb