TMAegis
Thêm quy tắc cho mongodb

MongoDB

TMA-MONGODB-4.2

Ensure Weak Protocols are Disabled

CaoCấp 1Tự độngmongodb

Mô tả

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ách kiểm tra

Phương pháp kiểm tra: Mẫu tệp

Tệp
/etc/mongod.conf
Mẫu khớp
(?m)^[ \t]*(?:disabledProtocols|sslDisabledProtocols):[^\n]*(?:TLS1_0[^\n]*TLS1_1|TLS1_1[^\n]*TLS1_0)

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
mongodbtlsencryption
Tham chiếu
CIS MongoDB 8 Benchmark v2.0.0 - 4.2 Ensure Weak Protocols are Disabled

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target mongodb