RCE in Xwiki Oauth Identity
CVE-2023-45144
- CVSS v3
- 10.0 Critical
- Public exploits
- None known
- EPSS
- 0.012 · 69.8th percentile
- Published
- 2023-10-16
com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on OAuth authorizations. When a user logs in via the OAuth method, the identityOAuth parameters sent in the GET request is vulnerable to cross site scripting (XSS) and XWiki syntax injection. This allows remote code execution via the groovy macro and thus affects the confidentiality, integrity and availability of the whole XWiki installation. The issue has been fixed in Identity OAuth version 1.6. There are no known workarounds for this vulnerability and users are advised to upgrade.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.012, 69.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xwiki Oauth Identity
- Xwikisas Identity-Oauth — versions >= 1.0, < 1.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (lucaswitvoet/lucaswitvoet). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/xwikisas/identity-oauth/security/advisories/GHSA-h2rm-29ch-wfmh (Vendor Advisory)
- https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6 (Patch)
- https://github.com/xwikisas/identity-oauth/commit/d805d3154b17c6bf455ddf5deb0a3461a3833bc6#diff-2ab2e0716443d790d7d798320e4a45151661f4eca5440331f4a227b29c87c188 (Patch)
- https://github.com/xwikisas/identity-oauth/blob/master/ui/src/main/resources/IdentityOAuth/LoginUIExtension.vm#L58 (Broken Link)
- https://jira.xwiki.org/browse/XWIKI-20719 (Permissions Required)