XWiki Platform XSS via Missing Escape vulnerable before 14.10.15/15.5.2/15.7RC1
CVE-2023-50723 Published on December 15, 2023
XWiki Platform remote code execution/programming rights with configuration section from any user account
XWiki Platform is a generic wiki platform. Starting in 2.3 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, anyone who can edit an arbitrary wiki page in an XWiki installation can gain programming right through several cases of missing escaping in the code for displaying sections in the administration interface. This impacts the confidentiality, integrity and availability of the whole XWiki installation. Normally, all users are allowed to edit their own user profile so this should be exploitable by all users of the XWiki instance. This has been fixed in XWiki 14.10.15, 15.5.2 and 15.7RC1. The patches can be manually applied to the `XWiki.ConfigurableClassMacros` and `XWiki.ConfigurableClass` pages.
Vulnerability Analysis
CVE-2023-50723 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. 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.
Weakness Types
What is an Eval Injection Vulnerability?
The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval"). This may allow an attacker to execute arbitrary code, or at least modify what code can be executed.
CVE-2023-50723 has been classified to as an Eval Injection 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-50723 has been classified to as a Code Injection vulnerability or weakness.
Products Associated with CVE-2023-50723
Want to know whenever a new CVE is published for Xwiki? stack.watch will email you.
Affected Versions
xwiki-platform:- Version >= 2.3, < 14.10.15 is affected.
- Version >= 15.0-rc-1, < 15.5.2 is affected.
- Version >= 15.6-rc-1, < 15.7-rc-1 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2023-50723
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-administration-ui | >= 2.3, < 14.10.15 | 14.10.15 |
| maven | org.xwiki.platform:xwiki-platform-administration-ui | >= 15.0-rc-1, < 15.5.2 | 15.5.2 |
| maven | org.xwiki.platform:xwiki-platform-administration-ui | >= 15.6-rc-1, < 15.7-rc-1 | 15.7-rc-1 |
Exploit Probability
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.