CVE-2021-43836: Sulu - Path Traversal & Remote Code Execution
- Cve: CVE-2021-43836
- Name: Sulu - Path Traversal & Remote Code Execution
- 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.
- Impact: Attackers can read arbitrary files and execute code remotely, leading to full system compromise.
- Remediation: Upgrade to version 1.6.44, 2.2.18, 2.3.8, 2.4.0 or apply the provided workaround by overwriting the service and wrapping the translator.
- Vulnerability type: file_inclusion
- Vulnerability impact: file_system_read, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02047
- Epss percentile: 0.81704
- Assignee: [email protected]
- Published at: 2021-12-15T20:15:08Z
- Age in days: 1805
- Modified at: 2026-06-17T04:11:32Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43836
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/sulu/sulu/commit/9c948f9ce350c68b53af8c3910e2cefc7f722b54 | nvd | Patch, Third Party Advisory |
| https://github.com/sulu/sulu/security/advisories/GHSA-vx6j-pjrh-vgjh | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sulu:sulu | = 2.4.0 rc1; >= 2.3.0, < 2.3.8; >= 2.0.0, < 2.2.18; < 1.6.44 | no | nvd | /v1/products/sulu/sulu |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sulu/sulu | commit, fix, package, security_advisory | yes | /v1/repositories/sulu/sulu |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts