🇰🇷 한글 설명
Moodle용 Microsoft 365 및 Microsoft Entra ID 플러그인에서 JWT 서명을 검증하지 않고 페이로드를 디코딩하는 취약점이 발견되었습니다. 공격자는 위조된 토큰을 사용하여 인증 없이 O365 인증 사용자로 위장하여 Moodle 세션을 획득할 수 있습니다.
💡 쉬운 설명
로그인할 때 사용하는 디지털 신분증의 진짜 여부를 확인하지 않는 보안 허점이 발견되었습니다. 이를 통해 해커가 가짜 신분증을 만들어 아무런 인증 없이 시스템에 접속할 수 있습니다.
🇺🇸 원문 (English)
The Microsoft 365 and Microsoft Entra ID Plugins for Moodle provide Office 365 and Azure Active Directory integration for Moodle. Prior to 4.5.6, 5.0.5, and 5.1.1, the Microsoft Office 365 Integration plugin local_o365 Teams SSO endpoint sso_login.php base64-decodes a JWT payload and authenticates users from the upn claim without verifying the JWT signature, allowing an unauthenticated attacker to forge a token and obtain a Moodle session as an O365-authenticated user. This issue is fixed in versions 4.5.6, 5.0.5, and 5.1.1.
📍 영향받는 시스템
Moodle Microsoft Office 365 Integration plugin (버전 4.5.6, 5.0.5, 5.1.1 미만)
⚔️ 공격 벡터
위조된 JWT 페이로드를 sso_login.php 엔드포인트로 전송하여 인증 우회
🛡️ 대응 방법
플러그인을 최신 버전(4.5.6, 5.0.5 또는 5.1.1 이상)으로 업데이트
🔧 검증 코드
출력된 플러그인의 버전이 취약점이 해결된 버전(4.5.6, 5.0.5, 5.1.1)보다 낮은지 확인하십시오.
grep -r "local_o365" /path/to/moodle/mod/ | grep "version"