PT-2023-20669 · Xwiki · Xwiki Platform

Manuel Leduc

·

Published

2023-03-02

·

Updated

2023-03-10

·

CVE-2023-26478

CVSS v3.1

6.6

Medium

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions XWiki Platform versions 14.3-rc-1 through 14.4.5 XWiki Platform versions 14.9-rc-1 and earlier, excluding 14.4.6 and later
Description The issue arises from the org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment function returning an instance of com.xpn.xwiki.doc.XWikiAttachment, which should not be exposed to users without the programing right. Instead, com.xpn.xwiki.api.Attachment should be used as it checks the user's rights before performing dangerous operations.
Recommendations For XWiki Platform versions 14.3-rc-1 through 14.4.5, update to version 14.4.6 or later. For XWiki Platform versions 14.9-rc-1 and earlier, excluding 14.4.6 and later, update to version 14.9-rc-1 or later. As a temporary workaround, consider restricting access to the org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment function until a patch is applied.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2023-26478
GHSA-8692-G6G9-GM5P

Affected Products

Xwiki Platform