9.3critical
moodle-local_o365: Authentication bypass via unverified JWT signature in Teams SSO endpoint
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.92% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| microsoft o365-moodle | < 4.5.6, >= 5.0.0, < 5.0.5, >= 5.1.0, < 5.1.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Los plugins de Microsoft 365 y Microsoft Entra ID para Moodle proporcionan integración de Office 365 y Azure Active Directory para Moodle. Antes de las versiones 4.5.6, 5.0.5 y 5.1.1, el plugin de integración de Microsoft Office 365 local_o365 Teams SSO en el endpoint sso_login.php decodifica en base64 una carga útil JWT y autentica a los usuarios a partir de la declaración upn sin verificar la firma JWT, permitiendo a un atacante no autenticado forjar un token y obtener una sesión de Moodle como un usuario autenticado en O365. Este problema está solucionado en las versiones 4.5.6, 5.0.5 y 5.1.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54733 changed 2026-07-16 | CVE Terms of Use |
| NVD | CVE-2026-54733 changed 2026-10-24 | Public domain |