Sensio Labs TWIG up to 1.19 Sandbox Mode Template.php displayBlock _self access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Sensio Labs TWIG up to 1.19. It has been declared as critical. This affects the function displayBlock of the file Template.php of the component Sandbox Mode. The manipulation of the argument _self results in access control.
This vulnerability is reported as CVE-2015-7809. No exploit exists.
It is recommended to upgrade the affected component.
Details
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 databases at Tenable (86387), SecurityFocus (BID 76484†) and Vulnerability Center (SBV-54619†). Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: TWIG 1.20.0
Patch: github.com
Timeline
08/26/2015 🔍08/26/2015 🔍
10/11/2015 🔍
10/14/2015 🔍
10/15/2015 🔍
11/06/2015 🔍
11/06/2015 🔍
11/09/2015 🔍
11/26/2015 🔍
06/26/2022 🔍
Sources
Advisory: 30be07759a3de2558da5224f127d052ecf492e8fStatus: Not defined
Confirmation: 🔍
CVE: CVE-2015-7809 (🔍)
GCVE (CVE): GCVE-0-2015-7809
GCVE (VulDB): GCVE-100-79092
SecurityFocus: 76484 - Twig Templates Remote Code Execution Vulnerability
Vulnerability Center: 54619 - Sensio Labs Twig before 1.20.0 Remote Code Execution, Medium
Entry
Created: 11/09/2015 10:31Updated: 06/26/2022 13:07
Changes: 11/09/2015 10:31 (59), 04/20/2018 09:26 (15), 06/26/2022 13:00 (4), 06/26/2022 13:07 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.