10.0critical
XWiki allows remote code execution through the extension sheet
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.79% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-j2pq-22jj-4pm5
Description
XWiki Platform is a generic wiki platform. Starting in version 3.3-milestone-1 and prior to versions 15.10.9 and 16.3.0, on instances where `Extension Repository Application` is installed, any user can execute any code requiring `programming` rights on the server. This vulnerability has been fixed in XWiki 15.10.9 and 16.3.0. Since `Extension Repository Application` is not mandatory, it can be safely disabled on instances that do not use it as a workaround. It is also possible to manually apply the patches from commit 8659f17d500522bf33595e402391592a35a162e8 to the page `ExtensionCode.ExtensionSheet` and to the page `ExtensionCode.ExtensionAuthorsDisplayer`.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | >= 3.3-milestone-1, < 15.10.9, >= 16.0.0-rc-1, < 16.3.0 | CVE List |
| org.xwiki.platform:xwiki-platform-repository-server-ui (Maven) | from 3.3-milestone-1 before 15.10.9, from 16.0.0-rc-1 before 16.3.0 | GitHub Advisory Database |
| xwiki xwiki | from 3.3 before 15.10.9, from 16.0.0 before 16.3.0 | NVD |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
XWiki Platform is a generic wiki platform. Starting in version 3.3-milestone-1 and prior to versions 15.10.9 and 16.3.0, on instances where `Extension Repository Application` is installed, any user can execute any code requiring `programming` rights on the server. This vulnerability has been fixed in XWiki 15.10.9 and 16.3.0. Since `Extension Repository Application` is not mandatory, it can be safely disabled on instances that do not use it as a workaround. It is also possible to manually apply the patches from commit 8659f17d500522bf33595e402391592a35a162e8 to the page `ExtensionCode.ExtensionSheet` and to the page `ExtensionCode.ExtensionAuthorsDisplayer`.
GitHub Advisory Database
Impact
On instances where Extension Repository Application is installed, any user can execute any code requiring programming rights on the server.
In order to reproduce on an instance, as a normal user without script nor programming rights, go to your profile and add an object of type ExtensionCode.ExtensionClass. Set the description to {{async}}{{groovy}}println("Hello from Description"){{/groovy}}{{/async}} and press Save and View. If the description displays as Hello from Description without any error, then the instance is vulnerable.
Patches
This vulnerability has been fixed in XWiki 15.10.9 and 16.3.0.
Workarounds
Since Extension Repository Application is not mandatory, it can be safely disabled on instances that do not use it.
It is also possible to manually apply this patch to the page ExtensionCode.ExtensionSheet, as well as this patch to the page ExtensionCode.ExtensionAuthorsDisplayer.
References
- https://jira.xwiki.org/browse/XWIKI-21890
- https://github.com/xwiki/xwiki-platform/commit/8659f17d500522bf33595e402391592a35a162e8
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
NVD (es)
XWiki Platform es una plataforma wiki genérica. A partir de la versión 3.3-milestone-1 y antes de las versiones 15.10.9 y 16.3.0, en las instancias donde está instalada `Extension Repository Application`, cualquier usuario puede ejecutar cualquier código que requiera derechos de `programación` en el servidor. Esta vulnerabilidad ha sido corregida en XWiki 15.10.9 y 16.3.0. Dado que `Extension Repository Application` no es obligatoria, se puede deshabilitar de forma segura en las instancias que no la utilicen como workaround. También es posible aplicar manualmente los parches del commit 8659f17d500522bf33595e402391592a35a162e8 a la página `ExtensionCode.ExtensionSheet` y a la página `ExtensionCode.ExtensionAuthorsDisplayer`.
References
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j2pq-22jj-4pm5 | product, web | |
| https://github.com/xwiki/xwiki-platform/commit/8659f17d500522bf33595e402391592a35a162e8 | vendor-advisory, web | |
| https://jira.xwiki.org/browse/XWIKI-21890 | exploit, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-55662 | advisory | |
| https://github.com/xwiki/xwiki-platform | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-55662 changed 2024-12-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j2pq-22jj-4pm5 changed 2024-12-12 | CC-BY-4.0 |
| NVD | CVE-2024-55662 changed 2026-06-17 | Public domain |