🇰🇷 한글 설명
linux-entra-sso 브라우저 확장 프로그램의 1.8.1 이전 버전에서, Chrome 어댑터의 declarativeNetRequest 규칙이 urlFilter를 부분 문자열로 매칭하여 URL 경로에 login.microsoftonline.com이 포함된 경우에도 Entra ID PRT 쿠키를 공격자 호스트 요청에 첨부할 수 있습니다. 이 문제는 Chrome 어댑터에 Firefox와 같은 startsWith 검증이 없고 광범위한 호스트 권한이 있어 발생하며, 1.8.1에서 수정되었습니다.
💡 쉬운 설명
Linux에서 Microsoft 로그인을 돕는 브라우저 확장 프로그램이 로그인 인증 쿠키를 엉뚱한 사이트로 보낼 수 있는 결함이 있습니다. 악성 사이트를 방문하면 사용자의 Microsoft 계정 인증 정보가 노출될 수 있습니다.
🇺🇸 원문 (English)
linux-entra-sso is a browser plugin for Linux to SSO on Microsoft Entra ID. Prior to 1.8.1, platform/chrome/js/platform-chrome.js:69-88 registers a single declarativeNetRequest rule whose urlFilter is Platform.SSO_URL + "/*", i.e. "https://login.microsoftonline.com/*". Chrome's urlFilter without a | or || anchor is substring-matched against the full request URL. The same applied rule action is modifyHeaders that attaches the Entra ID Primary Refresh Token cookie. The Firefox adapter in platform/firefox/js/platform-firefox.js:53 performs a belt-and-braces startsWith(Platform.SSO_URL) check before injecting the header; the Chrome adapter does not. When the extension holds broad host permissions through the optional_host_permissions: ["https://*/*"] declared in platform/chrome/manifest.json:34, a main-frame navigation to a URL whose path embeds https://login.microsoftonline.com/ causes Chrome to attach the PRT cookie to the request to the attacker-controlled host. This vulnerability is fixed in 1.8.1.
📍 영향받는 시스템
linux-entra-sso 1.8.1 미만 버전의 Chrome 확장 프로그램 사용 환경
⚔️ 공격 벡터
사용자가 경로에 login.microsoftonline.com 문자열을 포함한 악성 URL을 방문하도록 유도하여 PRT 쿠키를 공격자 서버로 전송
🛡️ 대응 방법
linux-entra-sso 확장 프로그램을 1.8.1 이상으로 업데이트
🔧 검증 코드
출력된 manifest의 version 값이 1.8.1 미만이면 취약하며, 1.8.1 이상이면 수정된 버전입니다. 결과가 없으면 확장 프로그램이 설치되지 않은 것입니다.
grep -i '"version"' ~/.config/google-chrome/Default/Extensions/*/*/manifest.json 2>/dev/null | grep -i -A0 entra
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux