Goobi viewerでOpenIDトークンの検証不備により認証を回避される
Summary
Goobi viewer(goobi-viewer-core)のバージョン25.01から26.05より前では、OpenIDトークンのaudクレームが暗号検証時に強制されず、別の認証先向けに発行されたトークンで別のユーザーとして認証される可能性があります。修正版の26.05が公開されているため、26.05以降へ更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Goobi viewer(goobi-viewer-core)のバージョン25.01から26.05より前では、OpenIDトークンのaudクレームが暗号検証時に強制されず、別の認証先向けに発行されたトークンで別のユーザーとして認証される可能性があります。修正版の26.05が公開されているため、26.05以降へ更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| intranda | goobi-viewer-core | — | — |
Original description The description as published by the source.
The Goobi viewer is a web application that allows digitised material to be displayed in a web browser. From version 25.01 to before version 26.05, AuthenticationEndpoint.verifyOpenIdToken builds its verifier as JWT.require(algorithm).withIssuer(issuer).build() and does not enforce the aud claim during cryptographic validation. The aud check is performed manually afterwards via a single string-equality call, which only handles single-string aud values. In a multi-RP IdP setup, a token whose single-string aud matches the viewer's client ID but was issued for a different relying party passes the check and authenticates the attacker as the token's sub. This issue has been patched in version 26.05.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com