CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Xwiki

CVE-2022-39387
Xwiki Openid Connect vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Openid Connect. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Xwiki Openid Connect runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Xwiki products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.