🇰🇷 한글 설명
Rust와 WebAssembly로 구현된 HWP 뷰어 및 에디터인 rhwp의 브라우저 확장 프로그램에서 발생하는 보안 취약점입니다. 서비스 워커가 메시지 송신자나 목적지 주소를 적절히 검증하지 않아, 신뢰할 수 없는 페이지가 로컬호스트나 내부 네트워크 리소스에 접근할 수 있습니다. 이를 통해 특정 HWP/HWPX 파일 내의 이미지를 탈취하거나 내부 네트워크 정보를 탐색할 수 있습니다.
💡 쉬운 설명
브라우저에 설치된 HWP 보기 확장 프로그램의 허점을 이용해, 나쁜 사이트에 접속만 해도 내 컴퓨터 내부의 정보나 개인적인 이미지를 몰래 훔쳐갈 수 있는 문제입니다. 공격자는 이 취약점을 통해 사용자의 내부 네트워크 상태를 확인하거나 특정 파일을 읽어낼 수 있습니다.
🇺🇸 원문 (English)
rhwp is an HWP viewer and editor implemented in Rust and WebAssembly. Prior to rhwp 0.7.15 and rhwp Chrome and Firefox extension 0.2.4, the browser extensions use an all-URLs host permission to detect HWP and HWPX links on visited pages, but the service workers do not validate message senders, URL schemes, or destination addresses before privileged fetches. The affected paths are rhwp-chrome/manifest.json, rhwp-chrome/content-script.js, rhwp-chrome/sw/message-router.js, rhwp-chrome/sw/thumbnail-extractor.js, rhwp-firefox/manifest.json, rhwp-firefox/content-script.js, rhwp-firefox/sw/message-router.js, and rhwp-firefox/sw/thumbnail-extractor.js. An untrusted page can make the fetch-file and extract-thumbnail handlers request localhost or private-network resources. When a target HWP or HWPX file contains an extractable PrvImage, the extension returns the preview as a data URI in page-readable DOM, allowing page script to read it. The flaw also permits internal-resource existence and port probing and extension presence or version fingerprinting. Exploitation requires a user to visit an untrusted page while the extension is enabled, and preview disclosure is limited to an extractable PrvImage. This issue is fixed in rhwp 0.7.15 and rhwp Chrome and Firefox extension 0.2.4.
📍 영향받는 시스템
rhwp 0.7.15 미만 버전 및 rhwp Chrome/Firefox 확장 프로그램 0.2.4 미만 버전
⚔️ 공격 벡터
사용자가 확장 프로그램이 활성화된 상태에서 악성 웹 페이지를 방문하여 서비스 워커의 권한을 악용함
🛡️ 대응 방법
rhwp 0.7.15 버전 및 rhwp Chrome/Firefox 확장 프로그램 0.2.4 버전 이상으로 업데이트
🔧 검증 코드
브라우저 확장 프로그램 관리 페이지에서 rhwp의 버전이 0.2.4 미만인지 확인하십시오.
chrome://extensions/ | grep -i 'rhwp' || python3 -c "import re; print('Check extension version manually')"
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
💻 영향받는 소프트웨어
Windows iSCSI Target Service