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).
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*

History

14 Nov 2023, 19:34

Type Values Removed Values Added
CPE cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
First Time Xwiki
Xwiki xwiki
CWE CWE-95
References (MISC) https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a - (MISC) https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a - Patch
References (MISC) https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a#diff-6271f9be501f30b2ba55459eb451aee3413d34171ba8198a77c865306d174e23 - (MISC) https://github.com/xwiki/xwiki-platform/commit/fec8e0e53f9fa2c3f1e568cc15b0e972727c803a#diff-6271f9be501f30b2ba55459eb451aee3413d34171ba8198a77c865306d174e23 - Patch
References (MISC) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89 - (MISC) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-62pr-qqf7-hh89 - Exploit, Vendor Advisory
References (MISC) https://jira.xwiki.org/browse/XWIKI-21110 - (MISC) https://jira.xwiki.org/browse/XWIKI-21110 - Issue Tracking, Vendor Advisory

06 Nov 2023, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-06 19:15

Updated : 2024-02-28 20:33


NVD link : CVE-2023-46731

Mitre link : CVE-2023-46731

CVE.ORG link : CVE-2023-46731


JSON object : View

Products Affected

xwiki

  • xwiki
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')