Symfony Twig code execution | CVE-2022-23614
NAME
Symfony Twig code execution
- Platforms Affected:
Symfony Twig 2.0.0
Symfony Twig 2.14.10
Symfony Twig 3.3.7
Symfony Twig 3.0.0 - Risk Level:
8.8 - Exploitability:
Unproven - Consequences:
Gain Access
DESCRIPTION
Symfony Twig could allow a remote authenticated attacker to execute arbitrary code on the system, caused by not forcing as a closure in the arrow parameter of the sort filter in sandbox mode. By sending a specially-crafted request, an attacker could exploit this vulnerability to execute arbitrary PHP code on the system.
CVSS 3.0 Information
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Access Vector: Network
- Access Complexity: Low
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
- Remediation Level: Official Fix
MITIGATION
Upgrade to the latest version of Twig (2.14.11, 3.3.8 or later), available from the Twig GIT Repository. See References.
- Reference Link:
https://github.com/twigphp/Twig/security/advisories/GHSA-5mv2-rx3q-4w2v - Reference Link:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23614
If you like the site, please consider joining the telegram channel and supporting us on Patreon using the button below.