CVE-2024-27915:
Sulu grants access to pages regardless of role permissions
6.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31761%
CWE
Published
3/4/2024
Updated
3/6/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
sulu/sulu | composer | >= 2.2.0, < 2.4.17 | 2.4.17 |
sulu/sulu | composer | >= 2.5.0-alpha1, < 2.5.13 | 2.5.13 |
Vulnerability Intelligence
Miggo AI
Root 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.