CVE-2022-39387
XWiki OIDC Authentication Bypass and Privilege Escalation Vulnh
Description
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.
INFO
Published Date :
Nov. 4, 2022, 7:15 p.m.
Last Modified :
Nov. 7, 2022, 7:12 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-39387
.
URL | Resource |
---|---|
https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89 | Patch Third Party Advisory |
https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w | Third Party Advisory |
https://jira.xwiki.org/browse/OIDC-118 | Issue Tracking Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-39387
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39387
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Nov. 07, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89 No Types Assigned https://github.com/xwiki-contrib/oidc/commit/0247af1417925b9734ab106ad7cd934ee870ac89 Patch, Third Party Advisory Changed Reference Type https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w No Types Assigned https://github.com/xwiki-contrib/oidc/security/advisories/GHSA-m7gv-v8xx-v47w Third Party Advisory Changed Reference Type https://jira.xwiki.org/browse/OIDC-118 No Types Assigned https://jira.xwiki.org/browse/OIDC-118 Issue Tracking, Vendor Advisory Added CWE NIST CWE-287 Added CPE Configuration OR *cpe:2.3:a:xwiki:openid_connect:*:*:*:*:*:*:*:* versions up to (excluding) 1.29.1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39387
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-39387
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} 0.00%
score
0.51443
percentile