CVE-2023-29209

XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents including the legacy notification activity macro can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the macro parameters of the legacy notification activity macro. This macro is installed by default in XWiki. The vulnerability can be exploited via every wiki page that is editable including the user's profile, but also with just view rights using the HTMLConverter that is part of the CKEditor integration which is bundled with XWiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
Configurations

Configuration 1 (hide)

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

History

25 Apr 2023, 17:26

Type Values Removed Values Added
CWE CWE-95 CWE-94
CPE cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
References (MISC) https://github.com/xwiki/xwiki-platform/commit/94392490884635c028199275db059a4f471e57bc - (MISC) https://github.com/xwiki/xwiki-platform/commit/94392490884635c028199275db059a4f471e57bc - Patch
References (MISC) https://jira.xwiki.org/browse/XWIKI-20258 - (MISC) https://jira.xwiki.org/browse/XWIKI-20258 - Exploit, Issue Tracking
References (MISC) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9pc2-x9qf-7j2q - (MISC) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9pc2-x9qf-7j2q - Exploit, Patch, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

17 Apr 2023, 13:12

Type Values Removed Values Added
New CVE

Information

Published : 2023-04-15 17:15

Updated : 2024-02-04 23:37


NVD link : CVE-2023-29209

Mitre link : CVE-2023-29209

CVE.ORG link : CVE-2023-29209


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')