PT-2018-12201 · Symfony · Twig
Bh-Eo
·
Published
2018-07-10
·
Updated
2024-08-05
·
CVE-2018-13818
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Twig versions prior to 2.4.4
Description
The issue allows Server-Side Template Injection (SSTI) via the
search key parameter. It is noted that Twig itself is not a web application, and the responsibility of properly wrapping input to it lies with web applications using Twig.Recommendations
For versions prior to 2.4.4, update to version 2.4.4 or later to resolve the issue. As a temporary workaround, consider properly wrapping input to Twig to prevent Server-Side Template Injection. Restrict access to the
search key parameter in affected applications to minimize the risk of exploitation.Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Twig