TMAegis
mongodb 관련 규칙 더 보기

MongoDB

TMA-MONGODB-4.1

Ensure legacy TLS protocols are disabled

보통레벨 2자동mongodb

설명

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

점검 방법

감사 방식: 파일 패턴

파일
/etc/mongod.conf
패턴
(?m)^[ \t]*disabledProtocols:[^\n]*(?:TLS1_0[^\n]*TLS1_1|TLS1_1[^\n]*TLS1_0)

조치 방법

조치 방식: 가이드 또는 인프라 패치

Add 'disabledProtocols: TLS1_0,TLS1_1' under net.tls in /etc/mongod.conf and restart mongod/mongos.

속성

운영 체제
모두
태그
mongodbtlsencryption
참고 자료
CIS MongoDB 8 Benchmark v2.0.0 - 4.1 Ensure legacy TLS protocols are disabled

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target mongodb --level 2