CVE-2024-27915
JSON

6.8medium

Sulu grants access to pages regardless of role permissions

Severity
6.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.45% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jr83-m233-gg6p

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

Affected

Product or packageVersionsReported by
sulu sulu>= 2.2.0, < 2.4.17, >= 2.5.0-alpha1, < 2.5.13, from 2.2.0 before 2.4.17, from 2.5.0-alpha1 before 2.5.13, from 2.5.0 before 2.5.13CVE List, NVD
sulu/sulu (Packagist)from 2.2.0 before 2.4.17, from 2.5.0-alpha1 before 2.5.13GitHub Advisory Database

All scores

GitHub_M6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

GitHub Advisory Database
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.

NVD (es)

Sulu es un sistema de gestión de contenidos PHP. A partir de la versión 2.2.0 y anteriores a la versión 2.4.17 y 2.5.13, el acceso a las páginas se otorga independientemente de los permisos de función para los espacios web que tienen un sistema de seguridad configurado y la verificación de permisos habilitada. Los espacios web sin él no tienen este problema. El problema está solucionado en las versiones 2.4.17 y 2.5.13. Algunas soluciones están disponibles. Se puede aplicar el parche a `vendor/symfony/security-http/HttpUtils.php` manualmente o evitar instalar versiones de `symfony/security-http` mayores que `v5.4.30` o `v6.3.6`.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27915 changed 2025-04-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-jr83-m233-gg6p changed 2026-09-10CC-BY-4.0
NVDCVE-2024-27915 changed 2026-06-17Public domain