🇰🇷 한글 설명
FairEmail 1.2319 미만 버전의 ActivityAMP 렌더러에서 HTML 검증 미흡으로 인해 발생하는 취약점입니다. 공격자가 조작된 AMP 이메일을 보내면 사용자가 AMP 기능을 활성화했을 때 임의의 자바스크립트가 실행될 수 있습니다. 이를 통해 메시지 데이터를 탈취하거나 피싱 레이어를 표시하는 등의 공격이 가능합니다.
💡 쉬운 설명
이메일 앱에서 특수하게 제작된 이메일을 열면 악성 코드가 몰래 실행될 수 있는 보안 약점입니다. 공격자는 이를 이용해 사용자의 이메일 내용을 훔쳐보거나 가짜 화면을 띄워 개인정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
FairEmail is a fully featured, open source, privacy-friendly email app for Android. Prior to 1.2319, the ActivityAMP AMP message renderer in app/src/main/java/eu/faircode/email/ActivityAMP.java enables JavaScript in its WebView but incompletely sanitizes untrusted message HTML. For non-allowlisted hosts, script.removeAttr("src") leaves inline script elements in the document and does not reject event-handler attributes or javascript: URLs on other elements. A crafted AMP email can execute arbitrary JavaScript when a recipient opens the message and enables the AMP toggle. The script can read the message DOM, exfiltrate message data, and display phishing overlays within the message-body area. Exploitation requires the recipient to enable the AMP toggle, and practical exposure is reduced because AMP email is uncommon. This issue is fixed in version 1.2319.
📍 영향받는 시스템
FairEmail 1.2319 미만 버전
⚔️ 공격 벡터
사용자가 AMP 기능이 활성화된 상태에서 조작된 AMP 이메일을 수신하고 열람할 때 발생
🛡️ 대응 방법
FairEmail을 최신 버전인 1.2319 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 1.2319보다 낮은지 확인하여 취약 여부를 판단합니다.
adb shell pm list packages | grep eu.faircode.email && adb shell dumpsys package eu.faircode.email | grep versionName