CVE-2023-26478
Assigner: GitHub_M
Published: 2023-03-02T17:46:15.394Z
State: PUBLISHED
title: org.xwiki.platform:xwiki-platform-store-filesystem-oldcore has Exposed Dangerous Method or Function
problemTypes: descriptions: cweId: CWE-749
description: CWE-749: Exposed Dangerous Method or Function
type: CWE
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6.6
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: HIGH
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
version: 3.1
affected: vendor: xwiki
product: xwiki-platform
versions: version: >= 14.3-rc-1, < 14.4.6
status: affected
version: >= 14.5, < 14.9-rc-1
status: affected
descriptions: value: 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.
source: advisory: GHSA-8692-g6g9-gm5p
discovery: UNKNOWN