Remote code execution through the section parameter in Administration as guest in XWiki Platform
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki doesn't properly escape the section URL parameter that is used in the code for displaying administration sections. This allows any user with read access to the document XWiki.AdminSheet (by default, everyone including unauthenticated users) to execute code including Groovy code. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This vulnerability has been patched in XWiki 14.10.14, 15.6 RC1 and 15.5.1. Users are advised to upgrade. Users unablr to upgrade may apply the fix in commit fec8e0e53f9 manually. Alternatively, to protect against attacks from unauthenticated users, view right for guests can be removed from this document (it is only needed for space and wiki admins).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-administration-uiMaven | < 14.10.14 | 14.10.14 |
org.xwiki.platform:xwiki-platform-administration-uiMaven | >= 15.0-rc-1, < 15.5.1 | 15.5.1 |
org.xwiki.platform:xwiki-platform-administrationMaven | < 14.10.14 | 14.10.14 |
Affected products
3- ghsa-coords2 versionspkg:maven/org.xwiki.platform/xwiki-platform-administrationpkg:maven/org.xwiki.platform/xwiki-platform-administration-ui
< 14.10.14+ 1 more
- (no CPE)range: < 14.10.14
- (no CPE)range: < 14.10.14
- Range: org.xwiki.platform:xwiki-platform-administration : < 14.10.14
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-62pr-qqf7-hh89ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-46731ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803aghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803aghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89ghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-21110ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.