Miggo Logo

CVE-2021-35210: Cross site scripting in the system log

6.1

CVSS Score
3.1

Basic Information

EPSS Score
0.542%
Published
7/1/2021
Updated
4/22/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
contao/core-bundlecomposer>= 4.5.0, < 4.9.164.9.16
contao/core-bundlecomposer>= 4.10.0, < 4.11.54.11.5
contao/contaocomposer>= 4.5.0, < 4.9.164.9.16
contao/contaocomposer>= 4.10.0, < 4.11.54.11.5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unescaped output of stored log data in the backend interface. While exact function names aren't visible in provided resources, Contao's architecture suggests:

  1. Controller methods handling log display would retrieve data from tl_log
  2. Templates rendering log entries would lack output encoding
  3. The patch likely added proper escaping in these locations Confidence is medium due to lack of direct code references, but the pattern matches classic stored XSS vulnerabilities in MVC frameworks.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t It is possi*l* to inj**t *o** into t** `tl_lo*` t**l* t**t will ** *x**ut** in t** *rows*r w**n t** syst*m lo* is **ll** in t** ***k *n*. ### P*t***s Up**t* to *ont*o *.*.** or *.**.*. ### Work*roun*s *is**l* t** syst*m lo* mo*ul* in

Reasoning

T** vuln*r**ility st*ms *rom un*s**p** output o* stor** lo* **t* in t** ***k*n* int*r****. W*il* *x**t *un*tion n*m*s *r*n't visi*l* in provi*** r*sour**s, *ont*o's *r**it**tur* su***sts: *. *ontroll*r m*t*o*s **n*lin* lo* *ispl*y woul* r*tri*v* **t*