Miggo Logo

CVE-2023-26478: xwiki contains Exposed Dangerous Method or Function

6.6

CVSS Score
3.1

Basic Information

EPSS Score
0.56494%
Published
3/3/2023
Updated
3/3/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.xwiki.platform:xwiki-platform-store-filesystem-oldcoremaven>= 14.3-rc-1, < 14.4.614.4.6
org.xwiki.platform:xwiki-platform-store-filesystem-oldcoremaven>= 14.5, < 14.9-rc-114.9-rc-1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the method returning an internal XWikiAttachment class instead of the secure Attachment wrapper. The commit diff explicitly shows the return type was changed from XWikiAttachment to Attachment to enforce security checks. The CWE-749 classification and advisory descriptions confirm this exposure of a dangerous method.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t `or*.xwiki.stor*.s*ript.T*mpor*ry*tt***m*ntsS*riptS*rvi**#uplo**T*mpor*ry*tt***m*nt` is r*turnin* *n inst*n** o* `*om.xpn.xwiki.*o*.XWiki*tt***m*nt`. T*is *l*ss is not support** to ** *xpos** to us*rs wit*out t** `pro*r*min*` ri**t. `*om.x

Reasoning

T** vuln*r**ility st*ms *rom t** m*t*o* r*turnin* *n int*rn*l XWiki*tt***m*nt *l*ss inst*** o* t** s**ur* *tt***m*nt wr*pp*r. T** *ommit *i** *xpli*itly s*ows t** r*turn typ* w*s ***n*** *rom XWiki*tt***m*nt to *tt***m*nt to *n*or** s**urity ****ks.