MongoDB
TMA-MONGODB-4.1
Ensure legacy TLS protocols are disabled
Trung bìnhCấp 2Tự độngmongodb
Mô tả
Only modern TLS protocols should be enabled in MongoDB for all client connections and upstream connections. Removing legacy TLS and SSL protocols (SSL 3.0, TLS 1.0 and 1.1), and enabling emerging and stable TLS protocols (TLS 1.2, and TLS 1.3), ensures users are able to take advantage of strong security capabilities and protects them from insecure legacy protocols. 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:[^\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
Add 'disabledProtocols: TLS1_0,TLS1_1' under net.tls in /etc/mongod.conf and restart mongod/mongos.
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.1 Ensure legacy TLS 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 --level 2