Even if a wiki has an OpenID provider configured through its xwiki.properties, it is possible to provide a third party provider by providing its details through request parameters. One can then bypass the XWiki authentication altogether by specifying its own provider through the oidc.endpoint.* request parameters (or by using an XWiki-based OpenID provider with oidc.xwikiprovider.
With the same approach, one could also provide a specific group mapping through oidc.groups.mapping that would make his user automatically part of the XWikiAdminGroup
Patched in version 1.29.1.
There is no workaround, an upgrade of the authenticator is required.
https://jira.xwiki.org/browse/OIDC-118
If you have any questions or comments about this advisory:
{ "nvd_published_at": "2022-11-04T19:15:00Z", "github_reviewed_at": "2022-11-04T18:58:46Z", "severity": "CRITICAL", "github_reviewed": true, "cwe_ids": [ "CWE-287" ] }