PT-2023-20669
CVE-2023-26478
·
Published
2023-03-02
·
Updated
2023-03-10
Description by
CVSS 3.1
6.6
MediumMetricsAV: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.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾