9.9
CRITICAL
CVE-2023-50721
XWiki Platform Groovy Macro Injection Vulnerability
Description

XWiki Platform is a generic wiki platform. Starting in 4.5-rc-1 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, the search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user. The necessary escaping has been added in XWiki 14.10.15, 15.5.2 and 15.7RC1. As a workaround, the patch can be applied manually applied to the page `XWiki.SearchAdmin`.

INFO

Published Date :

Dec. 15, 2023, 7:15 p.m.

Last Modified :

Dec. 19, 2023, 8:52 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2023-50721 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Xwiki xwiki
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-2023-50721.

URL Resource
https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766 Patch
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x Patch Vendor Advisory
https://jira.xwiki.org/browse/XWIKI-21200 Issue Tracking Patch 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-2023-50721 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-50721 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]

    Dec. 19, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766 Patch
    Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x Patch, Vendor Advisory
    Changed Reference Type https://jira.xwiki.org/browse/XWIKI-21200 No Types Assigned https://jira.xwiki.org/browse/XWIKI-21200 Issue Tracking, Patch, Vendor Advisory
    Added CWE NIST CWE-94
    Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 14.10.5 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.5.2 *cpe:2.3:a:xwiki:xwiki:15.6:-:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:15.6:rc1:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:15.7:rc1:*:*:*:*:*:*
  • CVE Received by [email protected]

    Dec. 15, 2023

    Action Type Old Value New Value
    Added Description XWiki Platform is a generic wiki platform. Starting in 4.5-rc-1 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, the search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user. The necessary escaping has been added in XWiki 14.10.15, 15.5.2 and 15.7RC1. As a workaround, the patch can be applied manually applied to the page `XWiki.SearchAdmin`.
    Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7654-vfh6-rw6x [No types assigned]
    Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/62863736d78ffd60d822279c5fb7fb9593042766 [No types assigned]
    Added Reference GitHub, Inc. https://jira.xwiki.org/browse/XWIKI-21200 [No types assigned]
    Added CWE GitHub, Inc. CWE-95
    Added CWE GitHub, Inc. CWE-94
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-50721 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} 0.03%

score

0.62096

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability