CVE-2024-27915: Sulu/sulu Sulu Grants Access To Pages Vulnerability
MODERATECVE-2024-27915 is a MODERATE (CVSS 6.8) sulu grants access to pages vulnerability (CWE-863: Incorrect Authorization) affecting Sulu/sulu libraries in the Packagist ecosystem. The issue involves sulu grants access to pages regardless of role permissions. Remediation is available by upgrading affected packages to version 2.4.17, 2.5.13.
CVE-2024-27915 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2024-27915
To remediate this vulnerability, upgrade all affected Sulu/sulu dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade sulu/sulu to 2.4.17
Upgrade sulu/sulu to 2.5.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sulu/sulu
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-27915, inspect your project dependencies for Sulu/sulu:
inspect dependencies for sulu/sulu
Analyze the terminal output to locate any version of Sulu/sulu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.17), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Sulu/sulu, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-27915 Affected Sulu/sulu Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sulu/sulu
|
Packagist |
≥ 2.2.0
< 2.4.17
|
2.4.17
|
|
sulu/sulu
|
Packagist |
≥ 2.5.0-alpha1
< 2.5.13
|
2.5.13
|
References
Frequently Asked Questions
What is CVE-2024-27915?
Which Sulu/sulu versions are affected?
What version fixes CVE-2024-27915?
Is sulu/sulu affected?
What is the CVSS score of CVE-2024-27915?
What CWE is associated with CVE-2024-27915?
How can I check Packagist dependencies for CVE-2024-27915?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jr83-m233-gg6p",
"modified" : "2024-03-06T21:37:49Z",
"published" : "2024-03-04T20:45:08Z",
"aliases" : [ "CVE-2024-27915" ],
"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->attributes->has('_route')) {\n- return $path === $request->attributes->get('_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",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "sulu/sulu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.4.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "sulu/sulu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.0-alpha1"
}, {
"fixed" : "2.5.13"
} ]
} ]
} ],
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-04T20:45:08Z",
"nvd_published_at" : "2024-03-06T20:15:47Z"
}
}