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

sulu/sulu Updated 02 Oct 2025

Summary

04/03/2024
Yes i
Moderate
6.8

CVE-2024-27915: Sulu grants access to pages regardless of role permissions. Affects sulu/sulu across 2 version ranges.

>= 2.2.0, < 2.4.17 >= 2.5.0-alpha1, < 2.5.13

Fixed in 2.4.17 or 2.5.13, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Sulu is an open-source content management platform that allows users to create and manage websites. It provides features such as multi-language support, content organization, and user management. However, a vulnerability has been discovered in Sulu that grants access to pages regardless of role permissions for webspaces with a security system configured and permission check enabled.

Vulnerability Detail

The vulnerability in Sulu allows unauthorized access to pages, bypassing role permissions. This means that users with lower privileges can gain access to restricted pages and perform actions that they should not be able to. This can lead to unauthorized data access, modification, or deletion. The issue is present in versions 2.2.0 to 2.4.16 and 2.5.0-alpha1 to 2.5.12 of the Sulu package.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.2.0, < 2.4.17 2.4.17
    composer require sulu/sulu:2.4.17
  • >= 2.5.0-alpha1, < 2.5.13 2.5.13
    composer require sulu/sulu:2.5.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading is not immediately possible, users can apply a temporary workaround by removing specific lines from the 'vendor/symfony/security-http/HttpUtils.php' file. The lines to be removed are:

-            // Shortcut if request has already been matched before
-            if ($request->attributes->has('_route')) {
-                return $path === $request->attributes->get('_route');
 -           }

However, it is recommended to upgrade to the patched versions as soon as possible.

Conclusion

The vulnerability in Sulu allows unauthorized access to pages, bypassing role permissions. It is recommended to upgrade to Sulu version 2.4.17 or 2.5.13 to fix the issue. Alternatively, users can apply a temporary workaround by removing specific lines from the 'vendor/symfony/security-http/HttpUtils.php' file. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for sulu/sulu →

Share this vulnerability

FAQ

The vulnerability allows unauthorized access to pages, bypassing role permissions. This can lead to unauthorized data access, modification, or deletion.

Versions 2.2.0 to 2.4.16 and 2.5.0-alpha1 to 2.5.12 of the Sulu package are affected.

To fix the vulnerability, users should upgrade to Sulu version 2.4.17 or 2.5.13, as these versions include the necessary patches to address the issue.

Yes, users can apply a temporary workaround by removing specific lines from the 'vendor/symfony/security-http/HttpUtils.php' file. However, it is recommended to upgrade to the patched versions as soon as possible.

Currently, there are no additional references available for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for sulu/sulu.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.2.0, < 2.4.17 2.4.17
    composer require sulu/sulu:2.4.17
  • >= 2.5.0-alpha1, < 2.5.13 2.5.13
    composer require sulu/sulu:2.5.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback