🇰🇷 한글 설명
wire-webapp의 마크다운 코드 하이라이팅 기능에서 불충분한 이스케이프 처리가 발생하여 임의의 HTML 및 JavaScript 코드를 주입하고 실행할 수 있는 취약점이 발견되었습니다. 공격자가 악성 메시지를 보내 사용자가 이를 확인하게 되면, 피해자의 계정 권한을 완전히 탈취할 수 있습니다.
💡 쉬운 설명
메시지 앱의 코드 강조 기능에 허점이 있어, 나쁜 코드가 담긴 메시지를 읽기만 해도 해커가 내 계정을 마음대로 조종할 수 있는 문제입니다. 이 문제는 웹 버전뿐만 아니라 연결된 PC용 앱에도 영향을 미칩니다.
🇺🇸 원문 (English)
wire-webapp is the web application interface for the wire messaging service. Insufficient escaping in markdown “code highlighting” in the wire-webapp resulted in the possibility of injecting and executing arbitrary HTML code and thus also JavaScript. If a user receives and views such a malicious message, arbitrary code is injected and executed in the context of the victim. This allows the attacker to fully control the user account. Wire-desktop clients that are connected to a vulnerable wire-webapp version are also vulnerable to this attack. The issue has been fixed in wire-webapp 2022-03-30-production.0 and is already deployed on all Wire managed services. On-premise instances of wire-webapp need to be updated to docker tag 2022-03-30-production.0-v0.29.2-0-d144552 or wire-server 2022-03-30 (chart/4.8.0), so that their applications are no longer affected. There are no known workarounds for this issue. ### Patches * The issue has been fixed in wire-webapp **2022-03-30-production.0** and is already deployed on all Wire managed services. * On-premise instances of wire-webapp need to be updated to docker tag **2022-03-30-production.0-v0.29.2-0-d144552** or wire-server **2022-03-30 (chart/4.8.0)**, so that their applications are no longer affected. ### Workarounds * No workarounds known ### For more information If you have any questions or comments about this advisory feel free to email us at [
[email protected]](mailto:
[email protected]) ### Credits We thank [Posix](https://twitter.com/po6ix) for reporting this vulnerability
📍 영향받는 시스템
wire-webapp (2022-03-30-production.0 미만 버전) 및 관련 wire-desktop 클라이언트
⚔️ 공격 벡터
마크다운 코드 하이라이팅 기능을 악용한 HTML/JavaScript 주입을 통한 XSS(Cross-Site Scripting) 공격
🛡️ 대응 방법
wire-webapp을 2022-03-30-production.0 버전 이상으로 업데이트하거나, 온프레미스의 경우 지정된 Docker 태그 또는 wire-server 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 패치된 버전인 2022-03-30-production.0이 포함되어 있으면 안전합니다.
docker images | grep 'wire-webapp' | grep -E '2022-03-30-production.0'