Arbitrary Code Execution Affecting twig/twig package, versions <1.20.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-TWIGTWIG-70234
  • published 12 Aug 2015
  • disclosed 12 Aug 2015
  • credit James Kettle, Alain Tiemblo, Christophe Coevoet, Fabien Potencier

Introduced: 12 Aug 2015

CVE NOT AVAILABLE CWE-94 Open this link in a new tab

Overview

End users can craft valid Twig code that allows them to execute arbitrary code (RCEs) via the _self variable, which is always available, even in sandboxed templates.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low