🇰🇷 한글 설명
MagicMirror² 2.37.0 미만 버전의 newsfeed 모듈에서 인증되지 않은 사용자가 Socket.IO를 통해 임의의 URL을 전달할 수 있는 취약점이 존재합니다. 공격자는 검증되지 않은 URL에 대해 HEAD 요청을 보내 내부 호스트 및 포트를 식별하거나 서비스에 부수 효과를 유발할 수 있습니다.
💡 쉬운 설명
스마트 거울 소프트웨어의 뉴스 피드 기능에 허점이 있어, 해커가 거울을 통해 내부 네트워크의 다른 기기들을 탐색할 수 있습니다. 공격자가 보낸 가짜 주소를 거울이 확인하는 과정에서 내부 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
MagicMirror² is an open source modular smart mirror platform. Prior to 2.37.0, checkArticleUrl in defaultmodules/newsfeed/node_helper.js accepts the CHECK_ARTICLE_URL notification through the unauthenticated Socket.IO namespace /newsfeed and performs fetch(url, { method: "HEAD" }) without validating the attacker-controlled URL. The helper returns ARTICLE_URL_STATUS containing the URL and framing result, providing a response and timing oracle that can identify internal hosts and ports and trigger side effects on services that react to HEAD requests. This issue is fixed in version 2.37.0.
📍 영향받는 시스템
MagicMirror² versions prior to 2.37.0
⚔️ 공격 벡터
Unauthenticated Socket.IO notification (CHECK_ARTICLE_URL) via /newsfeed namespace
🛡️ 대응 방법
MagicMirror²를 2.37.0 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 2.37.0 미만인지 확인하십시오.
npm list magicmirror2 2>/dev/null | grep -E 'magicmirror2@'