🇰🇷 한글 설명
PostgreSQL의 SCRAM 인증 과정에서 응답 차이가 발생하는 취약점입니다. 공격자는 SCRAM 반복 횟수를 관찰함으로써 인증되지 않은 상태에서도 특정 사용자의 존재 여부를 확인할 수 있습니다.
💡 쉬운 설명
로그인 과정에서 발생하는 미세한 차이를 이용해 데이터베이스에 어떤 아이디가 있는지 알아낼 수 있는 문제입니다. 특정 사용자가 존재하는지 확인하는 용도로 악용될 수 있습니다.
🇺🇸 원문 (English)
Observable response discrepancy in PostgreSQL SCRAM authentication allows an unauthenticated user to test the existence of a user via observing the SCRAM iteration count. This requires the probed user to have a non-default scram_iterations count, because the authentication challenge for a nonexistent user reports the default scram_iterations. Within major versions 16-18, minor versions before PostgreSQL 18.6, 17.11, and 16.15 are affected. Versions before PostgreSQL 16 are unaffected.
📍 영향받는 시스템
PostgreSQL 16-18 버전 중 18.6, 17.11, 16.15 미만 버전
⚔️ 공격 벡터
인증되지 않은 사용자가 SCRAM 인증 요청을 보내 응답되는 반복 횟수(iteration count)를 관찰함
🛡️ 대응 방법
PostgreSQL을 최신 보안 패치 버전(18.6, 17.11, 16.15 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 취약점이 해결된 버전(18.6, 17.11, 16.15 이상)인지 확인하십시오.