Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. sulu/sulu
  4. ›
  5. CVE-2024-27915

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

March 4, 2024 (updated March 6, 2024)

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.

References

  • github.com/advisories/GHSA-jr83-m233-gg6p
  • github.com/sulu/sulu
  • github.com/sulu/sulu/commit/ec9c3f99e15336dc4f6877f512300f231c17c6da
  • github.com/sulu/sulu/security/advisories/GHSA-jr83-m233-gg6p
  • nvd.nist.gov/vuln/detail/CVE-2024-27915

Code Behaviors & Features

Detect and mitigate CVE-2024-27915 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.2.0 before 2.4.17, all versions starting from 2.5.0-alpha1 before 2.5.13

Fixed versions

  • 2.4.17
  • 2.5.13

Solution

Upgrade to versions 2.4.17, 2.5.13 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

packagist/sulu/sulu/CVE-2024-27915.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.