CVE-2019-8341
Jinja2 SSTI Template Rendering Vulnerability
Description
An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing
INFO
Published Date :
Feb. 15, 2019, 7:29 a.m.
Last Modified :
Nov. 21, 2024, 4:49 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2019-8341 has a 5 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2019-8341
.
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).
Recording Framework for CAShift
Shell Python HTML Go Dockerfile C
Got a bogus CVE someone got for a non-vuln? Please share here!
Web application vulnerable to Python3 Flask SSTI (CVE-2019-8341)
Dockerfile Shell HTML CSS Python
search info and write myself poc and exp
Python
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-8341
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-8341
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. 04, 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 ** An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing. An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing -
Modified Analysis by [email protected]
Apr. 05, 2022
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html Mailing List, Third Party Advisory Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html Mailing List, Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1677653 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1677653 Issue Tracking, Third Party Advisory Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1125815 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1125815 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/JameelNabbo/Jinja2-Code-execution Exploit, Third Party Advisory https://github.com/JameelNabbo/Jinja2-Code-execution Broken Link Removed CWE NIST CWE-74 Added CWE NIST CWE-94 Added CPE Configuration OR *cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* *cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:* -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-94 CWE-74 -
CVE Modified by [email protected]
Aug. 06, 2019
Action Type Old Value New Value Changed Description An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. ** DISPUTED ** An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing. Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1677653 [No Types Assigned] Added Reference https://bugzilla.suse.com/show_bug.cgi?id=1125815 [No Types Assigned] -
CVE Modified by [email protected]
Jun. 24, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html [No Types Assigned] -
CVE Modified by [email protected]
May. 13, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html [No Types Assigned] -
Modified Analysis by [email protected]
Feb. 26, 2019
Action Type Old Value New Value Changed Reference Type https://www.exploit-db.com/exploits/46386/ No Types Assigned https://www.exploit-db.com/exploits/46386/ Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Feb. 16, 2019
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/46386/ [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 15, 2019
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/JameelNabbo/Jinja2-Code-execution No Types Assigned https://github.com/JameelNabbo/Jinja2-Code-execution Exploit, Third Party Advisory Added CWE CWE-94 Added CPE Configuration OR *cpe:2.3:a:pocoo:jinja2:2.10:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-8341
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-2019-8341
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
3.49 }} -0.75%
score
0.91600
percentile