Miggo Logo

CVE-2022-2280: Cross-site Scripting in microweber

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.53487%
Published
7/2/2022
Updated
1/27/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
microweber/microwebercomposer< 1.2.191.2.19

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper input neutralization in file upload processing. The patch adds strtolower() calls to filename extensions in two locations, indicating the original code lacked case normalization. This allowed XSS vectors through file extensions that bypassed MIME type checks. While no specific named function is called out, the procedural code in plupload.php responsible for handling uploaded files' naming and validation is clearly the vulnerable component, as shown by the patch modifying extension handling logic.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*ross-sit* S*riptin* (XSS) - Stor** in *it*u* r*pository mi*row***r/mi*row***r prior to *.*.**.

Reasoning

T** vuln*r**ility st*ms *rom improp*r input n*utr*liz*tion in *il* uplo** pro**ssin*. T** p*t** ***s strtolow*r() **lls to *il*n*m* *xt*nsions in two lo**tions, in*i**tin* t** ori*in*l *o** l**k** **s* norm*liz*tion. T*is *llow** XSS v**tors t*rou**