Skip to main content
← All vulnerabilities
CVE-2022-39387GHSA-M7GV-V8XX-V47W

XWiki OIDC Authenticator vulnerable to OpenID login bypass due to improper authentication

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.29.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

XWiki OIDC has various tools to manipulate OpenID Connect protocol in XWiki. Prior to version 1.29.1, even if a wiki has an OpenID provider configured through its xwiki.properties, it is possible to provide a third party provider 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. This issue has been patched, please upgrade to 1.29.1. There is no workaround, an upgrade of the authenticator is required.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • xwiki-contrib oidc

    fixed in 1.29.1

  • org.xwiki.contrib.oidc:oidc-authenticatorMaven

    fixed in 1.29.1

References 3

GitHub · xwiki-contrib/oidc

jira.xwiki.org