CVE-2023-46243
Assigner: GitHub_M
Published: 2023-11-07T19:10:45.565Z
State: PUBLISHED
title: Code execution via the edit action in XWiki platform
problemTypes: descriptions: cweId: CWE-94
description: CWE-94: Improper Control of Generation of Code ('Code Injection')
type: CWE
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 10
baseSeverity: CRITICAL
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
version: 3.1
affected: vendor: xwiki
product: xwiki-platform
versions: version: >= 1.0, < 14.10.6
status: affected
descriptions: value: XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to execute any content with the right of an existing document's content author, provided the user have edit right on it. A crafted URL of the form ` /xwiki/bin/edit//?content=%7B%7Bgroovy%7D%7Dprintln%28%22Hello+from+Groovy%21%22%29%7B%7B%2Fgroovy%7D%7D&xpage=view` can be used to execute arbitrary groovy code on the server. This vulnerability has been patched in XWiki versions 14.10.6 and 15.2RC1. Users are advised to update. There are no known workarounds for this issue. 
source: advisory: GHSA-g2qq-c5j9-5w5w
discovery: UNKNOWN