CVE-2015-7809
Symfony Twig vulnerability
The displayBlock function Template.php in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote attackers to execute arbitrary code via the _self variable in a template.
Affected products
Twig. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Symfony Twig runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- symfony.com/blog/security-release-twig-1-20-0 · Vendor Advisory
- openwall.com/lists/oss-security/2015/08/21/3
- openwall.com/lists/oss-security/2015/10/11/2
- www.debian.org/security/2015/dsa-3343
- github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f
- github.com/twigphp/Twig/pull/1759
- nvd.nist.gov/vuln/detail/CVE-2015-7809
- github.com/twigphp/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f
- nvd.nist.gov/vuln/detail/CVE-2015-7809
- cve.org/CVERecord?id=CVE-2015-7809
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.