Miggo Logo

CVE-2021-4116: yetiforcecrm is vulnerable to Cross-site Scripting

6.6

CVSS Score
3.0

Basic Information

EPSS Score
0.35996%
Published
12/16/2021
Updated
2/1/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
yetiforce/yetiforce-crmcomposer<= 6.3.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper sanitization of user-controlled file names before storing/displaying. The patch adds Purifier::purify() to these file name handling functions, indicating they previously lacked XSS protections. These functions process() uploaded file metadata that gets displayed in the web interface, making them direct injection points. The high confidence comes from the explicit addition of sanitization in the security patch and the CWE-79 XSS classification.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

y*ti*or***rm is vuln*r**l* to Improp*r N*utr*liz*tion o* Input *urin* W** P*** **n*r*tion ('*ross-sit* S*riptin*').

Reasoning

T** vuln*r**ility st*ms *rom improp*r s*nitiz*tion o* us*r-*ontroll** *il* n*m*s ***or* storin*/*ispl*yin*. T** p*t** ***s `Puri*i*r::puri*y()` to t**s* *il* n*m* **n*lin* *un*tions, in*i**tin* t**y pr*viously l**k** XSS prot**tions. T**s* *un*tions