🇰🇷 한글 설명
FalkorDB 4.20.0 미만 버전의 is_authenticated 함수에서 발생하는 인증 우회 취약점입니다. 공격자가 Bolt 엔드포인트를 통해 인증 없이 그래프 쿼리를 실행할 수 있으며, 이는 시스템 오류(데이터 로딩 중, 복제 실패, 메모리 부족 등)를 인증 성공으로 잘못 판단하기 때문에 발생합니다.
💡 쉬운 설명
로그인 과정에서 시스템에 오류가 발생하면 이를 '로그인 성공'으로 착각하여 문을 열어주는 보안 결함입니다. 이로 인해 해커가 비밀번호 없이 데이터베이스에 접근하여 정보를 조작할 수 있습니다.
🇺🇸 원문 (English)
An improper authentication vulnerability in the is_authenticated function (src/bolt/bolt_api.c) in FalkorDB before 4.20.0 allows a remote unauthenticated attacker to execute graph queries without credentials through the Bolt endpoint. The function decides whether a password is required by issuing an empty AUTH command to Redis and treats only a WRONGPASS error as meaning that a password is required; any other error, such as LOADING while a dataset is being loaded, MASTERDOWN during replication failover, or OOM under memory pressure, causes the client to be treated as authenticated. Only deployments that enable the Bolt endpoint (BOLT_PORT, disabled by default) are affected.
📍 영향받는 시스템
FalkorDB 4.20.0 미만 버전 (Bolt 엔드포인트 활성화 시)
⚔️ 공격 벡터
Bolt 엔드포인트를 통한 원격 비인증 그래프 쿼리 실행
🛡️ 대응 방법
FalkorDB를 4.20.0 이상 버전으로 업데이트하거나, 사용하지 않는 경우 BOLT_PORT 설정을 비활성화하십시오.
🔧 검증 코드
설치된 FalkorDB의 버전을 확인하여 4.20.0 미만인지 확인하고, Bolt 포트가 활성화되어 있는지 점검하십시오.
curl -s http://localhost:<BOLT_PORT> | grep -i 'version' || echo 'Bolt port not reachable'