CVE-2024-31997
published 2024-04-10CVE-2024-31997: XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity…
PriorityP279high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
73.92%
99.4th percentile
XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | < 14.10.19 | 14.10.19 |
| xwiki | xwiki | >= 15.0 < 15.5.4 | 15.5.4 |
| xwiki | xwiki | >= 15.6 < 15.9 | 15.9 |
| xwiki | xwiki-platform | < 14.10.19 | 14.10.19 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
XWiki Platform remote code execution from account through UIExtension parameters
osv·2024-04-10
CVE-2024-31997 [CRITICAL] XWiki Platform remote code execution from account through UIExtension parameters
XWiki Platform remote code execution from account through UIExtension parameters
### Impact
Parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation.
To reproduce, edit your user profile with the object editor and add a UIExtension object with the following values:
```
Extension Point ID: org.xwiki.platform.panels.Applications
Extension ID: platform.panels.myFakeApplication
Extension parameters:
label=I got programming right: $services.security.authorization.hasAccess('programming')
target=Main.WebHome
targetQueryS
GHSA
XWiki Platform remote code execution from account through UIExtension parameters
ghsa·2024-04-10
CVE-2024-31997 [CRITICAL] CWE-862 XWiki Platform remote code execution from account through UIExtension parameters
XWiki Platform remote code execution from account through UIExtension parameters
### Impact
Parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation.
To reproduce, edit your user profile with the object editor and add a UIExtension object with the following values:
```
Extension Point ID: org.xwiki.platform.panels.Applications
Extension ID: platform.panels.myFakeApplication
Extension parameters:
label=I got programming right: $services.security.authorization.hasAccess('programming')
target=Main.WebHome
targetQueryS
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1eahttps://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90dhttps://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5jhttps://jira.xwiki.org/browse/XWIKI-21335https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1eahttps://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90dhttps://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5jhttps://jira.xwiki.org/browse/XWIKI-21335
2024-04-10
Published