Miggo Logo

CVE-2018-20028: Contao Information Disclosure via Access Control Flaws

6.5

CVSS Score
3.0

Basic Information

EPSS Score
0.51531%
Published
5/13/2022
Updated
4/25/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
contao/contaocomposer>= 3.0.0, < 3.5.373.5.37
contao/contaocomposer>= 4.6.0, < 4.6.114.6.11
contao/contaocomposer>= 4.4.0, < 4.4.314.4.31

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from missing access control checks in Data Container (DCA) permission validation functions. The commit diff shows critical additions of ID-in-root-array checks for 'select' and 'paste' actions across multiple DCA files (tl_calendar_events, tl_news, etc.), which directly correlate with the described vulnerability vectors. The DC_Table.php changes fix root node handling that previously allowed unauthorized parent view access. The tl_page.php modifications address the pagemounts issue where empty user mounts led to unrestricted access. These functions were clearly modified to add missing access controls in the patch, confirming their vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

*ont*o *.x ***or* *.*.**, *.*.x ***or* *.*.** *n* *.*.x ***or* *.*.** **s In*orr**t ****ss *ontrol.

Reasoning

T** vuln*r**ility st*mm** *rom missin* ****ss *ontrol ****ks in **t* *ont*in*r (***) p*rmission v*li**tion *un*tions. T** *ommit *i** s*ows *riti**l ***itions o* I*-in-root-*rr*y ****ks *or 's*l**t' *n* 'p*st*' **tions **ross multipl* *** *il*s (tl_*