CVE-2023-40177
XWiki Platform Arbitrary Script Execution Vulnerability
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any registered user can use the content field of their user profile page to execute arbitrary scripts with programming rights, thus effectively performing rights escalation. This issue is present since version 4.3M2 when AppWithinMinutes Application added support for the Content field, allowing any wiki page (including the user profile page) to use its content as an AWM Content field, which has a custom displayer that executes the content with the rights of the ``AppWithinMinutes.Content`` author, rather than the rights of the content author. The vulnerability has been fixed in XWiki 14.10.5 and 15.1RC1. The fix is in the content of the AppWithinMinutes.Content page that defines the custom displayer. By using the ``display`` script service to render the content we make sure that the proper author is used for access rights checks.
INFO
Published Date :
Aug. 23, 2023, 9:15 p.m.
Last Modified :
Aug. 29, 2023, 3:23 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.1
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-40177
.
URL | Resource |
---|---|
https://github.com/xwiki/xwiki-platform/commit/dfb1cde173e363ca5c12eb3654869f9719820262 | Patch |
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5mf8-v43w-mfxp | Mitigation Patch Vendor Advisory |
https://jira.xwiki.org/browse/XWIKI-7369 | 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-40177
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-40177
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]
Aug. 29, 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/dfb1cde173e363ca5c12eb3654869f9719820262 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/dfb1cde173e363ca5c12eb3654869f9719820262 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5mf8-v43w-mfxp No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-5mf8-v43w-mfxp Mitigation, Patch, Vendor Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-7369 No Types Assigned https://jira.xwiki.org/browse/XWIKI-7369 Issue Tracking, Patch, Vendor Advisory Added CWE NIST CWE-94 Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:4.3:milestone2:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 4.3.1 up to (excluding) 14.10.5 *cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* *cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:*
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-40177
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-40177
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} -0.00%
score
0.44351
percentile