TMAegis
Aturan lainnya untuk mongodb

TMA-MONGODB-4.2

Ensure Weak Protocols are Disabled

TinggiLevel 1Otomatismongodb

Deskripsi

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

Cara pemeriksaan

Metode audit: Pola file

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

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

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

Properti

Sistem operasi
Apa saja
Tag
mongodbtlsencryption
Referensi
CIS MongoDB 8 Benchmark v2.0.0 - 4.2 Ensure Weak Protocols are Disabled

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target mongodb