CVE-2021-43836
JSON

8.5high

PHP file inclusion in the Sulu admin panel

Severity
8.5high CVSS:3.1 by GitHub_M
Exploit likelihood
2.05% (higher than 82% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-vx6j-pjrh-vgjh

Description

Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language.

Affected

Product or packageVersionsReported by
sulu sulu< 1.6.44, >= 2.0.0, < 2.2.18, >= 2.3.0, < 2.3.8, before 1.6.44, from 2.0.0 before 2.2.18, from 2.3.0 before 2.3.8, 2.4.0CVE List, NVD
sulu/sulu (Packagist)before 1.6.44, from 2.0.0 before 2.2.18, from 2.3.0 before 2.3.8, from 2.4.0-RC1 before 2.4.0GitHub Advisory Database

All scores

GitHub_M8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

Sulu is an open-source PHP content management system based on the Symfony framework. In affected versions an attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution. The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0. For users unable to upgrade overwrite the service `sulu_route.generator.expression_token_provider` and wrap the translator before passing it to the expression language.

GitHub Advisory Database
Impact

What kind of vulnerability is it? Who is impacted?

An attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution.

  • Compromised components: Arbitrary file read on the server, (Potential) Remote code execution
  • Exploitation pre-requisite: User account on the backend
Patches

Has the problem been patched? What versions should users upgrade to?

The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Overwrite the service sulu_route.generator.expression_token_provider and wrap the translator before passing it to the expression language.

References

Are there any links users can visit to find out more?

Currently not.

For more information

If you have any questions or comments about this advisory:

NVD (es)

Sulu es un sistema de administración de contenidos PHP de código abierto basado en el framework Symfony. En las versiones afectadas, un atacante puede leer archivos locales arbitrarios por medio de una inclusión de archivos PHP. En una configuración por defecto esto también conlleva a una ejecución de código remota. El problema está parcheado con las versiones 1.6.44, 2.2.18, 2.3.8, 2.4.0. Para usuarios que no puedan actualizar sobrescribir el servicio "sulu_route.generator.expression_token_provider" y envolver el traductor antes de pasarlo al lenguaje de expresión

References

Sources

SourceRecordLicence
CVE ListCVE-2021-43836 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-vx6j-pjrh-vgjh changed 2026-07-08CC-BY-4.0
NVDCVE-2021-43836 changed 2026-06-17Public domain