TMAegis베타
redis 관련 규칙 더 보기

Redis

TMA-REDIS-DEFAULT-USER-NOPASS

Ensure the default ACL user is not configured with nopass

심각레벨 1자동redis

설명

'user default ... nopass' explicitly allows password-less access with the default user's permissions. Checks /etc/redis/redis.conf (SKIP when it does not exist; RHEL uses /etc/redis.conf).

점검 방법

감사 방식: 파일 패턴

파일
/etc/redis/redis.conf
패턴
(?m)^[ \t]*user[ \t]+default[ \t][^\n]*\bnopass\b

조치 방법

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

Replace nopass with '><secret>' (or turn the user off with 'user default off') in redis.conf / the aclfile and restart, or ACL SETUSER default resetpass ><secret> followed by ACL SAVE

속성

운영 체제
모두
태그
redisdatabaseauthentication
참고 자료
CIS Redis Benchmark - Authentication / ACL default user (verify section number for your release)

이 호스트 점검하기

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

shell
tmaegis scan --target redis