{"id":"CVE-2015-7809","sourceIdentifier":"cve@mitre.org","published":"2015-11-06T21:59:12.580","lastModified":"2026-06-17T00:33:10.670","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La función displayBlock en Template.php en Sensio Labs Twig en versiones anteriores a 1.20.0 cuando el modo Sandbox está habilitado, permite a atacantes remotos ejecutar código arbitrario a través de la variable _self en una plantilla."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*","versionEndIncluding":"1.19.0","matchCriteriaId":"F6D02236-07FF-4747-9453-DCF0872A6CAE"}]}]}],"references":[{"url":"http://openwall.com/lists/oss-security/2015/08/21/3","source":"cve@mitre.org"},{"url":"http://openwall.com/lists/oss-security/2015/10/11/2","source":"cve@mitre.org"},{"url":"http://symfony.com/blog/security-release-twig-1-20-0","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.debian.org/security/2015/dsa-3343","source":"cve@mitre.org"},{"url":"https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f","source":"cve@mitre.org"},{"url":"https://github.com/twigphp/Twig/pull/1759","source":"cve@mitre.org"},{"url":"http://openwall.com/lists/oss-security/2015/08/21/3","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2015/10/11/2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://symfony.com/blog/security-release-twig-1-20-0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.debian.org/security/2015/dsa-3343","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/fabpot/Twig/commit/30be07759a3de2558da5224f127d052ecf492e8f","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/twigphp/Twig/pull/1759","source":"af854a3a-2127-422b-91ae-364da2661108"}]}