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 (93.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 93.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.070 · newest: 0.069 · change: -0.001
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, VDB Entry, Third Party Advisory, exploit)
- github.com/twigphp/Twig/issues/2743 (Exploit, Third Party Advisory)
- mobile.twitter.com/jameel_nabbo/status/1032593354704515072 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-13818?
- CVE-2018-13818 is a critical-severity vulnerability in Symfony Twig, classified under Code Injection. CVSS score: 9.8/10. Published 2018-07-10.
- How severe is CVE-2018-13818?
- Critical severity. CVSS v3 base score is 9.8 out of 10.