Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet (xwiki xwiki-platform)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.89 % Β· percentile 79 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting in version 5.1-rc-1 and prior to versions 14.10.8 and 15.3-rc-1, any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This has been patched in XWiki 14.10.8 and 15.3-rc-1 by adding proper escaping. As a workaround, the patch can be manually applied to the document `Menu.UIExtensionSheet`; only three lines need to be changed.
Weaknesses (CWE)
- CWE-95 β Improper Neutralization of Directives in Dynamically Evaluated Code
- CWE-94 β Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD Β· security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-v2rr-xw95-wcjx β Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
European references
- ENISA EUVD Β· EUVD-2023-2811
- GCVE Β· GCVE-0-2023-37909
Affected configurations (NVD CPE)
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*β₯ 5.1 < 14.10.8
Affected products
| Product | Versions |
|---|---|
| xwiki Β· xwiki-platform | affected >= 5.1-rc-1, < 14.10.8 ; affected >= 15.0-rc-1, < 15.3-rc-1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |