GitHub Advisoryadvisory · Packagist

GHSA-jr83-m233-gg6p Sulu grants access to pages regardless of role permissions

MEDIUM Published 2024-03-04 Modified 2024-03-06 Official page ↗
Aliases
CVE-2024-27915
Ecosystem
Packagist
Packages
sulu/sulu
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-863
Reviewed
2024-03-04

Affected packages

• Packagist sulu/sulu: >= 2.2.0, < 2.4.17 → fixed in 2.4.17 • Packagist sulu/sulu: >= 2.5.0-alpha1, < 2.5.13 → fixed in 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.

Related

Alias · CVE (1)

  • CVE-2024-27915 Sulu is a PHP content management system. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References