CVE-2023-46731 Remote code execution through the section parameter in Administration as guest in XWiki Platform
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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).
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-administration(Maven) | < 14.10.14 | 14.10.14 | Fixed |
| org.xwiki.platform/xwiki-platform-administration-ui(Maven) | < 14.10.14; >= 15.0-rc-1, < 15.5.1 | 14.10.14, 15.5.1 | Fixed |
| xwiki | < 14.10.14; >= 15.0, < 15.5.1 | 14.10.14, 15.5.1 | Fixed |
| xwiki-platform | = org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14; = org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1; = org.xwiki.platform:xwiki-platform-administration : < 14.10.14 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-administration-ui(Maven) | < 14.10.14 | 14.10.14 |
| org.xwiki.platform/xwiki-platform-administration-ui(Maven) | >= 15.0-rc-1, < 15.5.1 | 15.5.1 |
| org.xwiki.platform/xwiki-platform-administration(Maven) | < 14.10.14 | 14.10.14 |
| xwiki-platform | = org.xwiki.platform:xwiki-platform-administration : < 14.10.14 | No fix listed |
| xwiki-platform | = org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14 | No fix listed |
| xwiki-platform | = org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1 | No fix listed |
| xwiki | < 14.10.14 | 14.10.14 |
| xwiki | >= 15.0, < 15.5.1 | 15.5.1 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a patch
- https://jira.xwiki.org/browse/XWIKI-21110 issue-tracking vendor-advisory
- github.com
- github.com product