🇰🇷 한글 설명
RedisBloom 모듈이 RESTORE 명령어를 통해 수신한 직렬화 값을 충분히 검증하지 않아, 인증된 공격자가 악의적인 페이로드를 전송하여 메모리 접근 오류를 유발할 수 있습니다. 이 취약점은 원격 코드 실행(RCE)으로 이어질 수 있으며, 2.8.20 버전에서 수정되었습니다.
💡 쉬운 설명
Redis 데이터베이스의 RedisBloom 확장 기능이 특정 명령어를 통해 받은 악의적인 데이터를 안전하게 처리하지 못합니다. 이를 악용하면 공격자가 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
RedisBloom is a probabilistic data structures module for Redis. In all versions of RedisBloom before 2.8.20, the module does not properly validate serialized values processed through the Redis RESTORE command. An authenticated attacker with permission to execute RESTORE on a server with the RedisBloom module loaded can supply a crafted serialized payload that triggers invalid memory access and may lead to remote code execution. A workaround is to restrict access to the RESTORE command with ACL rules. This issue is fixed in version 2.8.20.
📍 영향받는 시스템
RedisBloom 2.8.20 이전 모든 버전
⚔️ 공격 벡터
RESTORE 명령어 실행 권한이 있는 인증된 공격자가 조작된 직렬화 페이로드 전송
🛡️ 대응 방법
RedisBloom을 2.8.20 이상으로 업그레이드하거나 ACL을 이용해 RESTORE 명령어 접근 제한
🔧 검증 코드
출력에서 RedisBloom 버전을 확인하고 2.8.20 미만이면 업그레이드 필요, 모듈이 없으면 영향 없음
redis-cli MODULE LIST 2>/dev/null | grep -i bloom || dpkg -l 2>/dev/null | grep redisbloom