CVE-2024-27915: Sulu grants access to pages regardless of role permissions
Impact
What kind of vulnerability is it? Who is impacted?
Access to pages is granted regardless of role permissions for webspaces which have a security system configured and permission check enabled. Webspaces without do not have this issue.
Patches
Has the problem been patched? What versions should users upgrade to?
The problem is patched with Version 2.4.17 and 2.5.13.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
Remove following lines from vendor/symfony/security-http/HttpUtils.php:
- // Shortcut if request has already been matched before - if ($request->attributes->has('route')) { - return $path === $request->attributes->get('route'); - }
Or do not install symfony/security-http versions greater equal than v5.4.30 or v6.3.6.
References
Are there any links users can visit to find out more?
Currently no references.
Other sources
Sulu is a PHP content management system. Starting in verson 2.2.0 and prior to version 2.4.17 and 2.5.13, access to pages is granted regardless of role permissions for webspaces which have a security system configured and permission check enabled. Webspaces without do not have this issue. The problem is patched in versions 2.4.17 and 2.5.13. Some workarounds are available. One may apply the patch to vendor/symfony/security-http/HttpUtils.php manually or avoid installing symfony/security-http versions greater equal than v5.4.30 or v6.3.6.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27915?
CVE-2024-27915 is classified as a high severity vulnerability due to its potential impact on role permissions.
How do I fix CVE-2024-27915?
To fix CVE-2024-27915, upgrade to Sulu version 2.5.13 or 2.4.17 or later.
Who is impacted by CVE-2024-27915?
CVE-2024-27915 impacts users of Sulu versions 2.5.0-alpha1 to 2.5.13 and 2.2.0 to 2.4.17 if they have a security system configured.
What are the symptoms of CVE-2024-27915?
The main symptom of CVE-2024-27915 is unauthorized access to web pages due to improper role permission checks.
Is CVE-2024-27915 a critical vulnerability?
While not critical, CVE-2024-27915 is significant due to the risk of unauthorized access if left unpatched.