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 package | Versions | Reported 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.0 | CVE 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.0 | GitHub Advisory Database |
All scores
| GitHub_M | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 8.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV: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:
- Open an issue in example link to repo
- Email us at example email address
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
| https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh | third-party-advisory, web | |
| https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43836 | advisory | |
| https://github.com/sulu/sulu | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43836 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vx6j-pjrh-vgjh changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-43836 changed 2026-06-17 | Public domain |