Access Restriction Bypass Affecting twig/twig package, versions <1.20.0
Threat Intelligence
EPSS
7.18% (95th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-TWIGTWIG-472639
- published 20 Nov 2019
- disclosed 12 Aug 2015
- credit James Kettle
Introduced: 12 Aug 2015
CVE-2015-7809 Open this link in a new tabHow to fix?
Upgrade twig/twig
to version 1.20.0 or higher.
Overview
twig/twig is a flexible, fast, and secure template language for PHP.
Affected versions of this package are vulnerable to Access Restriction Bypass. The displayBlock
function Template.php
, when Sandbox mode is enabled, allows remote attackers to execute arbitrary code via the _self
variable in a template.
CVSS Scores
version 3.1