CVE-2022-39387: XWiki OIDC Authenticator vulnerable to bypassing OpenID login by providing a custom provider
9.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.32267%
CWE
Published
11/4/2022
Updated
1/29/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.xwiki.contrib.oidc:oidc-authenticator | maven | < 1.29.1 | 1.29.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of request parameters in configuration loading. The key evidence comes from the patch which:
- Introduces a SAFE_PROPERTIES whitelist (only allowing 'skipped')
- Restricts getProperty() methods to only process request parameters for whitelisted properties
- Modifies endpoint resolution to prevent direct parameter injection
The original vulnerable functions lacked these safeguards, allowing attackers to override OIDC endpoints, group mappings, and provider configurations through unvalidated request parameters. This directly enabled authentication bypass and privilege escalation as described in CVE-2022-39387.