RCE in Xwiki
CVE-2023-46731
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).
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.885 (99.8th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.885 · newest: 0.885 · change: 0.000
Affected products
- Xwiki
- Xwiki Xwiki-Platform — versions org.xwiki.platform:xwiki-platform-administration : < 14.10.14, org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14, org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89 (Exploit, Vendor Advisory)
- github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a (Patch)
- github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a (Patch)
- jira.xwiki.org/browse/XWIKI-21110 (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2023-46731?
- CVE-2023-46731 is a critical-severity vulnerability in Xwiki, classified under Code Injection. CVSS score: 10.0/10. Published 2023-11-06.
- How severe is CVE-2023-46731?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2023-46731 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.