Miggo Logo

CVE-2022-31190: XMLUI's metadata of withdrawn Items is exposed to anonymous users

5.3

CVSS Score
3.1

Basic Information

EPSS Score
0.27773%
Published
8/6/2022
Updated
7/24/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.dspace:dspace-xmluimaven>= 4.0, <= 6.36.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing authorization checks in XMLUI metadata generators. The commit diff shows both DSpaceMETSGenerator and DSpaceOREGenerator's generate() methods were modified to add isAuthorized() checks and return 403 responses. Prior to this fix, these methods would render metadata without verifying READ permissions, allowing anonymous access to withdrawn items' metadata through their respective endpoints (mets.xml/ore.xml). The high confidence comes from direct evidence in the patch showing security checks were added to these specific generator entry points.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t M*t***t* on * wit**r*wn It*m is *xpos** vi* t** XMLUI "m*ts.xml" o*j**t, *s lon* *s you know t** **n*l*/URL o* t** wit**r*wn It*m. T*is vuln*r**ility only imp**ts t** XMLUI. *ow*v*r, t*is vuln*r**ility is v*ry low s*v*rity *s It*m m*t***t

Reasoning

T** vuln*r**ility st*ms *rom missin* *ut*oriz*tion ****ks in XMLUI m*t***t* **n*r*tors. T** *ommit *i** s*ows *ot* `*Sp***M*TS**n*r*tor` *n* `*Sp***OR***n*r*tor`'s `**n*r*t*()` m*t*o*s w*r* mo*i*i** to *** `is*ut*oriz**()` ****ks *n* r*turn *** r*spo