XWiki IdentityOAuth XSS & Syntax Injection Tainted Params (before 1.6)
CVE-2023-45144 Published on October 16, 2023

Remote code execution from login screen through unescaped URL parameter in OAuth Identity XWiki App
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.

Github Repository NVD

Vulnerability Analysis

CVE-2023-45144 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2023-45144. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Types

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2023-45144 has been classified to as a XSS vulnerability or weakness.

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2023-45144 has been classified to as a Code Injection vulnerability or weakness.


Products Associated with CVE-2023-45144

Want to know whenever a new CVE is published for Xwiki Oauth Identity? stack.watch will email you.

 

Affected Versions

xwikisas identity-oauth Version >= 1.0, < 1.6 is affected by CVE-2023-45144

Vulnerable Packages

The following package name and versions may be associated with CVE-2023-45144

Package Manager Vulnerable Package Versions Fixed In
maven com.xwiki.identity-oauth:identity-oauth-ui >= 1.0, < 1.6 1.6

Exploit Probability

EPSS
4.05%
Percentile
88.72%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.