Miggo Logo

CVE-2024-27915:
Sulu grants access to pages regardless of role permissions

6.8

CVSS Score
3.1

Basic Information

EPSS Score
0.31761%
Published
3/4/2024
Updated
3/6/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
sulu/sulucomposer>= 2.2.0, < 2.4.172.4.17
sulu/sulucomposer>= 2.5.0-alpha1, < 2.5.132.5.13

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stemmed from security checks being performed in ContentRouteProvider::getRouteCollectionForRequest before the routing context was fully resolved. The commit removed these checks (lines 166-180 in ContentRouteProvider.php) and introduced a new SecurityListener to handle authorization later in the request flow. The original code's premature security check allowed bypassing role permissions when the webspace had security configured, as the routing attributes necessary for proper authorization were not yet available.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

### Imp**t _W**t kin* o* vuln*r**ility is it? W*o is imp**t**?_ ****ss to p***s is *r*nt** r***r*l*ss o* rol* p*rmissions *or w**sp***s w*i** **v* * s**urity syst*m *on*i*ur** *n* p*rmission ****k *n**l**. W**sp***s wit*out *o not **v* t*is issu*.

Reasoning

T** vuln*r**ility st*mm** *rom s**urity ****ks **in* p*r*orm** in *ont*ntRout*Provi**r::**tRout**oll**tion*orR*qu*st ***or* t** routin* *ont*xt w*s *ully r*solv**. T** *ommit r*mov** t**s* ****ks (lin*s ***-*** in *ont*ntRout*Provi**r.p*p) *n* intro*