🇰🇷 한글 설명
MagicMirror² 2.37.0 미만 버전의 calendar 모듈에서 인증되지 않은 사용자가 조작된 URL을 통해 서버 측 요청 위조(SSRF) 공격을 수행할 수 있습니다. 공격자는 이를 통해 내부 서비스의 응답 데이터를 탈취하거나 네트워크 스캔을 시도할 수 있습니다.
💡 쉬운 설명
스마트 거울 소프트웨어의 취약점을 이용해 해커가 거울 내부 네트워크에 있는 다른 기기나 정보를 몰래 훔쳐볼 수 있는 문제입니다. 공격자가 가짜 주소를 보내면 거울이 대신 그 주소에 접속하여 정보를 가져오게 됩니다.
🇺🇸 원문 (English)
MagicMirror² is an open source modular smart mirror platform. Prior to 2.37.0, the ADD_CALENDAR handler in defaultmodules/calendar/node_helper.js accepts an attacker-controlled URL, authentication data, and selfSignedCert setting through the unauthenticated Socket.IO namespace /calendar. The handler passes these fields to CalendarFetcher, causing a server-side request without SSRF validation and optionally disabling TLS verification. When the response is valid iCal, CALENDAR_EVENTS returns parsed event data to the attacker, allowing internal-service response data to be exfiltrated; other responses still provide a blind request and timing primitive. This issue is fixed in version 2.37.0.
📍 영향받는 시스템
MagicMirror² versions prior to 2.37.0
⚔️ 공격 벡터
Unauthenticated Socket.IO namespace (/calendar) via ADD_CALENDAR handler
🛡️ 대응 방법
MagicMirror²를 버전 2.37.0 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 버전 번호가 출력되면 취약한 버전이 설치되어 있는 상태입니다.
npm list magicmirror2 --depth=0 | grep -E 'magicmirror2@([0-1]\.|2\.[0-3][0-6]\.)'