Miggo Logo

CVE-2022-3211: Pimcore vulnerable to stored stored Cross-site Scripting via`properties` when creating new users

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.03677%
Published
9/16/2022
Updated
1/28/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
pimcore/pimcorecomposer< 10.5.610.5.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unescaped user input in the properties interface. The commit diff shows the XSS fix specifically adds Ext.util.Format.htmlEncode() to the 'name' attribute in getTypeRenderer. This function handles property display rendering, which aligns with the vulnerability's description of XSS via user properties. While other files were patched for XSS prevention, the CVE description specifically references the user properties vector, making this the primary vulnerable function.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Pim*or* prior to **.*.* is vuln*r**l* to stor** *ross-sit* s*riptin*. T*is o**urs w**n *n *tt**k*r inj**ts * p*ylo** w**n ***in* prop*rti*s *or * n*w us*r.

Reasoning

T** vuln*r**ility st*ms *rom un*s**p** us*r input in t** prop*rti*s int*r****. T** *ommit *i** s*ows t** XSS *ix sp**i*i**lly ***s *xt.util.*orm*t.*tml*n*o**() to t** 'n*m*' *ttri*ut* in **tTyp*R*n**r*r. T*is *un*tion **n*l*s prop*rty *ispl*y r*n**ri