Skip to content

Access to pages is granted regardless of role permissions

Moderate
alexander-schranz published GHSA-jr83-m233-gg6p Mar 4, 2024

Package

composer sulu/sulu (Composer)

Affected versions

>=2.2.0

Patched versions

2.4.17,2.5.13

Description

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.

Severity

Moderate

CVE ID

CVE-2024-27915

Weaknesses

No CWEs