🇰🇷 한글 설명
matrix-appservice-irc는 Matrix를 위한 오픈 소스 Node.js IRC 브리지입니다. 공격자가 특정 문자열을 사용하여 공격자 소유의 채널과 기존 채널을 결합하도록 유도함으로써, 해당 채널에 대한 권한을 획득할 수 있는 취약점이 존재합니다.
💡 쉬운 설명
해커가 특수한 글자를 입력하여 원래는 들어갈 수 없는 채팅방에 몰래 들어가 권한을 뺏는 문제입니다. 이로 인해 채팅방의 관리자 권한이 해커에게 넘어갈 위험이 있습니다.
🇺🇸 원문 (English)
matrix-appservice-irc is an open source Node.js IRC bridge for Matrix. Attackers can specify a specific string of characters, which would confuse the bridge into combining an attacker-owned channel and an existing channel, allowing them to grant themselves permissions in the channel. The vulnerability has been patched in matrix-appservice-irc 0.35.0. As a workaround operators may disable dynamic channel joining via `dynamicChannels.enabled` to prevent users from joining new channels, which prevents any new channels being bridged outside of what is already bridged, and what is specified in the config.
📍 영향받는 시스템
matrix-appservice-irc 0.35.0 미만 버전
⚔️ 공격 벡터
특정 문자열을 포함한 채널 이름을 지정하여 채널 결합 유도
🛡️ 대응 방법
matrix-appservice-irc를 0.35.0 이상 버전으로 업데이트하거나, 설정에서 dynamicChannels.enabled를 비활성화함
🔧 검증 코드
출력된 버전이 0.35.0 미만인지 확인하여 취약 여부를 판단합니다.
npm list matrix-appservice-irc