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

Medium 6.8 Published Updated

Attackers can access restricted pages in Sulu CMS when security systems are enabled, bypassing role-based permission checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27915?

CVE-2024-27915 is a medium-severity missing authorization vulnerability in sulu, published on 6 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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`.

Weakness: CWE-863

Which versions are affected by CVE-2024-27915?

4 open source packages ship an affected version, including sulu/sulu. It affects 1 product.

PackageAffectedFixed in
sulu/sulu PackagistFrom 2.2.02.4.17
sulu/sulu PackagistFrom 2.2.02.4.17
sulu/sulu PackagistFrom 2.5.0-alpha12.5.13
sulu/sulu PackagistFrom 2.5.0-alpha12.5.13

Products include Sulu Sulu.

How do I fix CVE-2024-27915?

Upgrade sulu/sulu to a fixed version for your release line: 2.4.17 or 2.5.13.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-27915 being exploited?

There is no known exploitation of CVE-2024-27915 in the wild and no public exploit code.

Sources

Also known as GHSA-jr83-m233-gg6p.

Is CVE-2024-27915 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free