🔍 CVE-2024-32000

4.3
CVSS Score
MEDIUM
2024-04-12
2026-06-17 07:29
✅ 완료

🇰🇷 한글 설명

matrix-appservice-irc 2.0.0 이전 버전은 접근 권한이 없는 이벤트 ID에 대한 Matrix 답장을 통해 메시지 본문이 유출될 수 있다. 공격자는 메시지 이벤트 ID를 알고 있고 Matrix 룸과 연결된 IRC 채널에 모두 참여하고 있을 때 이를 악용할 수 있으며, 유출된 내용은 IRC 채널 멤버에게 노출된다. 버전 2.0.0에서 권한 검증을 추가하여 패치되었다.

💡 쉬운 설명

IRC 메신저 브릿지 프로그램이 접근 불가능한 메시지에 대한 답장을 통해 내용을 실수로 노출시킨다. 공격자는 특정 메시지 ID를 알면 그 내용을 엿볼 수 있다.

🇺🇸 원문 (English)

matrix-appservice-irc is a Node.js IRC bridge for the Matrix messaging protocol. matrix-appservice-irc before version 2.0.0 can be exploited to leak the truncated body of a message if a malicious user sends a Matrix reply to an event ID they don't have access to. As a precondition to the attack, the malicious user needs to know the event ID of the message they want to leak, as well as to be joined to both the Matrix room and the IRC channel it is bridged to. The message reply containing the leaked message content is visible to IRC channel members when this happens. matrix-appservice-irc 2.0.0 checks whether the user has permission to view an event before constructing a reply. Administrators should upgrade to this version. It's possible to limit the amount of information leaked by setting a reply template that doesn't contain the original message. See these lines `601-604` in the configuration file linked.

📍 영향받는 시스템

matrix-appservice-irc < 2.0.0

⚔️ 공격 벡터

공격자가 접근 권한 없는 이벤트 ID에 대한 답장을 Matrix에서 전송하면 truncated 메시지 본문이 IRC 채널에서 공개됨

🛡️ 대응 방법

matrix-appservice-irc를 2.0.0 이상으로 업그레이드 또는 설정 파일에서 원본 메시지를 포함하지 않는 답장 템플릿 구성

🔧 검증 코드

버전 번호가 2.0.0 이상이면 안전함. 2.0.0 미만이거나 설치되지 않았다면 업그레이드 필요

Shell / Script
npm list matrix-appservice-irc 2>/dev/null | grep -E 'matrix-appservice-irc@' | awk '{print $NF}'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

Node.js