RCE in Symfony Twig
CVE-2018-13818
Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. NOTE: the vendor points out that Twig itself is not a web application and states that it is the responsibility of web applications using Twig to properly wrap input to it
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.069, 94.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/twigphp/Twig/blob/2.x/CHANGELOG (Release Notes)
- github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb (Patch, Third Party Advisory)
- www.exploit-db.com/exploits/44102/ (Exploit, exploit, Third Party Advisory, VDB Entry)
- github.com/twigphp/Twig/issues/2743 (Exploit, Third Party Advisory)
- mobile.twitter.com/jameel_nabbo/status/1032593354704515072 (Exploit, Third Party Advisory)