VDB-79092 · CVE-2015-7809 · BID 76484

Sensio Labs TWIG up to 1.19 Sandbox Mode Template.php displayBlock _self access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability classified as critical has been found in Sensio Labs TWIG up to 1.19. Affected is the function displayBlock of the file Template.php of the component Sandbox Mode. The manipulation of the argument _self with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was disclosed 11/06/2015 (Website). The advisory is shared for download at github.com. This vulnerability is traded as CVE-2015-7809 since 10/11/2015. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1068.

By approaching the search of inurl:Template.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 86387 (FreeBSD : pear-twig -- remote code execution (705b759c-7293-11e5-a371-14dae9d210b8)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l.

Upgrading to version 1.20.0 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (86387). The entries VDB-37044, VDB-60771, VDB-61110 and VDB-64319 are pretty similar.






CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍


VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Access control
CWE: CWE-264

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 86387
Nessus Name: FreeBSD : pear-twig -- remote code execution (705b759c-7293-11e5-a371-14dae9d210b8)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 703343
OpenVAS Name: Debian Security Advisory DSA 3343-1 (twig - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: TWIG 1.20.0
Patch: github.com


08/26/2015 🔍
08/26/2015 +0 days 🔍
10/11/2015 +46 days 🔍
10/14/2015 +3 days 🔍
10/15/2015 +1 days 🔍
11/06/2015 +22 days 🔍
11/06/2015 +0 days 🔍
11/09/2015 +3 days 🔍
11/26/2015 +17 days 🔍
06/26/2022 +2404 days 🔍


Advisory: 30be07759a3de2558da5224f127d052ecf492e8f
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-7809 (🔍)
Vulnerability Center: 54619 - Sensio Labs Twig before 1.20.0 Remote Code Execution, Medium
SecurityFocus: 76484 - Twig Templates Remote Code Execution Vulnerability

See also: 🔍


Created: 11/09/2015 10:31 AM
Updated: 06/26/2022 01:07 PM
Changes: 11/09/2015 10:31 AM (59), 04/20/2018 09:26 AM (15), 06/26/2022 01:00 PM (4), 06/26/2022 01:07 PM (1)
Complete: 🔍
Cache ID: 34:0FB:40


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!