Description

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

INFO

Published Date :

July 10, 2018, 2:29 p.m.

Last Modified :

Aug. 5, 2024, 10:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2018-13818 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Symfony twig
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-13818.

URL Resource
https://github.com/twigphp/Twig/blob/2.x/CHANGELOG Release Notes
https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb Patch Third Party Advisory
https://github.com/twigphp/Twig/issues/2743 Exploit Third Party Advisory
https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 Exploit Third Party Advisory
https://www.exploit-db.com/exploits/44102/ Exploit Third Party Advisory VDB Entry

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-13818 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-13818 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Aug. 05, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 17, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 11, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Tag MITRE disputed
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description ** DISPUTED ** 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. 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
  • Modified Analysis by [email protected]

    Mar. 08, 2019

    Action Type Old Value New Value
    Changed Reference Type https://github.com/twigphp/Twig/issues/2743 No Types Assigned https://github.com/twigphp/Twig/issues/2743 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/twigphp/Twig/blob/2.x/CHANGELOG Third Party Advisory https://github.com/twigphp/Twig/blob/2.x/CHANGELOG Release Notes
    Changed Reference Type https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 No Types Assigned https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 Exploit, Third Party Advisory
  • CVE Modified by [email protected]

    Sep. 21, 2018

    Action Type Old Value New Value
    Changed Description Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. ** DISPUTED ** 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.
    Added Reference https://mobile.twitter.com/jameel_nabbo/status/1032593354704515072?s=20 [No Types Assigned]
    Added Reference https://github.com/twigphp/Twig/issues/2743 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 11, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/twigphp/Twig/blob/2.x/CHANGELOG No Types Assigned https://github.com/twigphp/Twig/blob/2.x/CHANGELOG Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/44102/ No Types Assigned https://www.exploit-db.com/exploits/44102/ Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb No Types Assigned https://github.com/twigphp/Twig/commit/eddb97148ad779f27e670e1e3f19fb323aedafeb Patch, Third Party Advisory
    Added CWE CWE-94
    Added CPE Configuration OR *cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* versions up to (excluding) 2.4.4
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-13818 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-13818 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

5.96 }} -2.36%

score

0.92651

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability