{"id":"GHSA-jr83-m233-gg6p","summary":"Sulu grants access to pages regardless of role permissions","details":"### Impact\n\n_What kind of vulnerability is it? Who is impacted?_\n\nAccess 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.\n\n### Patches\n\nHas the problem been patched? What versions should users upgrade to?\n\nThe problem is patched with Version `2.4.17` and `2.5.13`.\n\n### Workarounds\n\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nRemove  following lines from `vendor/symfony/security-http/HttpUtils.php`:\n\n```\n-            // Shortcut if request has already been matched before\n-            if ($request-\u003eattributes-\u003ehas('_route')) {\n-                return $path === $request-\u003eattributes-\u003eget('_route');\n -           }\n```\n\nOr do not install `symfony/security-http` versions greater equal than `v5.4.30` or `v6.3.6`.\n\n### References\n\n_Are there any links users can visit to find out more?_\n\nCurrently no references.\n","aliases":["CVE-2024-27915"],"modified":"2024-03-06T21:46:42.588172Z","published":"2024-03-04T20:45:08Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-03-04T20:45:08Z","nvd_published_at":"2024-03-06T20:15:47Z","cwe_ids":["CWE-863"]},"references":[{"type":"WEB","url":"https://github.com/sulu/sulu/security/advisories/GHSA-jr83-m233-gg6p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27915"},{"type":"WEB","url":"https://github.com/sulu/sulu/commit/ec9c3f99e15336dc4f6877f512300f231c17c6da"},{"type":"PACKAGE","url":"https://github.com/sulu/sulu"}],"affected":[{"package":{"name":"sulu/sulu","ecosystem":"Packagist","purl":"pkg:composer/sulu/sulu"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.4.17"}]}],"versions":["2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.14","2.2.15","2.2.16","2.2.17","2.2.18","2.2.19","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8","2.2.9","2.3.0","2.3.0-RC1","2.3.0-RC2","2.3.1","2.3.10","2.3.11","2.3.12","2.3.13","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","2.4.0-RC1","2.4.1","2.4.10","2.4.11","2.4.12","2.4.13","2.4.14","2.4.15","2.4.16","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-jr83-m233-gg6p/GHSA-jr83-m233-gg6p.json"}},{"package":{"name":"sulu/sulu","ecosystem":"Packagist","purl":"pkg:composer/sulu/sulu"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0-alpha1"},{"fixed":"2.5.13"}]}],"versions":["2.5.0","2.5.0-alpha1","2.5.1","2.5.10","2.5.11","2.5.12","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.5.8","2.5.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-jr83-m233-gg6p/GHSA-jr83-m233-gg6p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}