CVE-2023-26478

Medium

Description

XWiki Platform is a generic wiki platform. Starting in version 14.3-rc-1, `org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` returns an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right. `com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations. This has been patched in versions 14.9-rc-1 and 14.4.6. There are no known workarounds for this issue.

SeverityMedium
CVSS6.6
Exploit probability—
ProductXwiki
PublishedMar 2, 2023
First seenMar 2, 2023
Weakness typeCWE-749CWE-749

How to fix

Update
  • xwiki xwiki14.4.6, 14.9 or later
  • org.xwiki.platform:xwiki-platform-store-filesystem-oldcore14.4.6, 14.9-rc-1 or later

Affected products

ProductAffected versionsFixed in
xwiki xwiki14.3 ≤ v < 14.4.6, 14.5 ≤ v < 14.914.4.6, 14.9
org.xwiki.platform:xwiki-platform-store-filesystem-oldcoreMaven14.3-rc-1 ≤ v < 14.4.6, 14.5 ≤ v < 14.9-rc-114.4.6, 14.9-rc-1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.