TMA-REDIS-AUTHENTICATION
Ensure client authentication is required
심각레벨 1자동redis
설명
Without requirepass or an ACL password on the default user, any client that can reach the port has full access. Compliant when requirepass is set or the default user is defined with a password (>pw / #hash) or is turned off. ACLs defined only in an aclfile must be reviewed separately. Checks /etc/redis/redis.conf (SKIP when it does not exist; RHEL uses /etc/redis.conf).
점검 방법
감사 방식: 파일 패턴
- 파일
/etc/redis/redis.conf- 패턴
(?m)^[ \t]*(?:requirepass[ \t]+\S+|user[ \t]+default[ \t][^\n]*(?:[ \t][>#]\S+|[ \t]off\b))
조치 방법
조치 방식: 가이드 또는 인프라 패치
Set 'requirepass <long random secret>' (Redis < 6) or define ACL users with 'user <name> on ><secret> ~<keys> +@<categories>' and 'user default off' in redis.conf; restart and update clients
속성
- 운영 체제
- 모두
- 태그
- redisdatabaseauthentication
- 참고 자료
- CIS Redis Benchmark - Authentication / requirepass and ACL (verify section number for your release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target redis