🇰🇷 한글 설명
Tauri 프레임워크의 is_local_url() 함수 결함으로 인해 Windows 및 Android 환경에서 원격 URL을 신뢰할 수 있는 로컬 오리진으로 잘못 분류하는 취약점이 발견되었습니다. 공격자는 애플리케이션의 커스텀 URI 스킴과 일치하는 서브도메인을 가진 웹 페이지를 호스팅하여 이 취약점을 악용할 수 있습니다. 이 문제는 Tauri 2.10.3 버전에서 수정되었습니다.
💡 쉬운 설명
앱이 외부 웹사이트를 안전한 내부 주소로 착각하여 보안 검사를 통과시키는 문제입니다. 공격자가 교묘하게 만든 가짜 주소를 통해 앱의 권한을 탈취할 수 있습니다.
🇺🇸 원문 (English)
Tauri is a framework for building binaries for all major desktop platforms. From 2.0 to 2.11.0, a flaw in Tauri's is_local_url() function causes it to incorrectly classify remote URLs as trusted local origins on Windows and Android. On these systems, Tauri maps custom URI scheme protocols to http://<scheme>.localhost/ because those platforms' WebView implementations cannot serve custom URI schemes directly. The issue is that Tauri's check to see if the origin is local, only checks the first subdomain of the URL. An attacker can abuse this by hosting a page on a domain whose subdomain matches the custom scheme of the application. This vulnerability is fixed in 2.10.3.
📍 영향받는 시스템
Tauri framework versions 2.0 to 2.11.0 (Windows and Android)
⚔️ 공격 벡터
애플리케이션의 커스텀 URI 스킴과 동일한 서브도메인을 가진 악성 웹사이트를 통한 공격
🛡️ 대응 방법
Tauri 프레임워크를 2.10.3 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 Tauri 버전이 2.10.3 미만인지 확인하십시오.
cargo tauri --version 2>/dev/null || echo 'Tauri not found in path'