Vulnerability · Published Mar 2, 2023 · Assigned by GitHub_M

CVE-2023-26478org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function

Medium 6.6

In plain English

A medium-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)0.7%top 47.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-store-filesystem-oldcore14.4.6GHSA-8692-g6g9-gm5p
Mavenorg.xwiki.platform:xwiki-platform-store-filesystem-oldcore14.9-rc-1GHSA-8692-g6g9-gm5p

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 14.3-rc-1, < 14.4.6>= 14.5, < 14.9-rc-1

Weakness: CWE-749 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L

References