🇰🇷 한글 설명
OTP의 inets httpd 서버 내 mod_auth 모듈에서 dets 또는 mnesia 인증 백엔드를 사용할 때 발생하는 취약점입니다. 여러 디렉토리 설정 블록이 하나의 공유 사용자/그룹 네임스페이스로 통합되어, 특정 디렉토리에 등록된 사용자가 서버 내 다른 모든 보호된 디렉토리에서도 유효한 사용자로 인식됩니다.
💡 쉬운 설명
서로 다른 방마다 다른 열쇠를 써야 하는데, 한 방의 열쇠가 모든 방에 다 통하게 되는 보안 결함입니다. 이로 인해 특정 구역에만 권한이 있는 사용자가 서버 내 다른 구역까지 마음대로 들어갈 수 있습니다.
🇺🇸 원문 (English)
The mod_auth module in OTP's inets httpd server, when configured with dets or mnesia authentication backends and multiple directory configuration blocks, collapses all directory blocks into a single shared user/group namespace. A user added to one protected directory is accepted as valid for all other protected directories on the same server instance.
This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
📍 영향받는 시스템
OTP 17.0~27.3.4.17, 28.0~28.5.0.6, 29.0~29.0.6 및 이에 대응하는 inets 버전들
⚔️ 공격 벡터
권한이 낮은 디렉토리의 계정을 이용해 인증이 필요한 다른 디렉토리에 무단 접근
🛡️ 대응 방법
OTP를 최신 보안 패치 버전(27.3.4.17, 28.5.0.6, 29.0.6 이상)으로 업데이트
🔧 검증 코드
출력된 OTP 버전이 취약한 버전 범위에 포함되는지 확인
erl -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().' 2>/dev/null