Lucene search

K
githubGitHub Advisory DatabaseGHSA-XW83-PWRM-9J74
HistoryMay 14, 2022 - 2:03 a.m.

Twig remote code execution in templates

2022-05-1402:03:50
CWE-74
GitHub Advisory Database
github.com
9
sensio labs twig
sandbox mode
template.php
remote code execution

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

AI Score

8.2

Confidence

Low

EPSS

0.072

Percentile

94.1%

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 configurations

Vulners
Node
twigtwigRange<1.20.0

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

AI Score

8.2

Confidence

Low

EPSS

0.072

Percentile

94.1%