TMAegis
Weitere Regeln für mongodb

TMA-MONGODB-4.2

Ensure Weak Protocols are Disabled

HochStufe 1Automatisiertmongodb

Beschreibung

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).

So wird geprüft

Prüfmethode: Dateimuster

Datei
/etc/mongod.conf
Muster
(?m)^[ \t]*(?:disabledProtocols|sslDisabledProtocols):[^\n]*(?:TLS1_0[^\n]*TLS1_1|TLS1_1[^\n]*TLS1_0)

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

Set net.tls.disabledProtocols: TLS1_0,TLS1_1 in /etc/mongod.conf (or start with --tlsDisabledProtocols TLS1_0,TLS1_1) and restart mongod.

Eigenschaften

Betriebssysteme
Beliebig
Tags
mongodbtlsencryption
Referenz
CIS MongoDB 8 Benchmark v2.0.0 - 4.2 Ensure Weak Protocols are Disabled

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target mongodb