Twig up to 2.4.3 search_key code injection ⚔ [Disputed]

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.7$0-$5k0.00

Summaryinfo

A vulnerability was found in Twig up to 2.4.3. It has been declared as critical. Impacted is an unknown function. Such manipulation of the argument search_key as part of Parameter leads to code injection. This vulnerability is listed as CVE-2018-13818. The attack may be performed from remote. In addition, an exploit is available. The real existence of this vulnerability is still doubted at the moment. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in Twig up to 2.4.3. It has been rated as critical. Affected by this issue is some unknown processing. The manipulation of the argument search_key as part of a Parameter leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter.

The bug was discovered 02/16/2018. The weakness was presented 07/10/2018 as EDB-ID 44102 as not defined exploit (Exploit-DB). The advisory is shared for download at exploit-db.com. This vulnerability is handled as CVE-2018-13818 since 07/10/2018. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.

After immediately, there has been an exploit disclosed. The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 144 days. During that time the estimated underground price was around $0-$5k. The real existence of this vulnerability is still doubted at the moment.

Upgrading to version 2.4.4 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Exploit-DB (44102). Once again VulDB remains the best source for vulnerability data.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.0
VulDB Meta Temp Score: 8.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CNA Base Score: 9.8
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Twig 2.4.4
Patch: github.com

Timelineinfo

02/16/2018 🔍
07/10/2018 +143 days 🔍
07/10/2018 +0 days 🔍
07/10/2018 +0 days 🔍
07/10/2018 +0 days 🔍
07/10/2018 +0 days 🔍
07/11/2018 +1 days 🔍
08/05/2024 +2217 days 🔍

Sourcesinfo

Advisory: EDB-ID 44102
Status: Not defined
Disputed: 🔍

CVE: CVE-2018-13818 (🔍)
GCVE (CVE): GCVE-0-2018-13818
GCVE (VulDB): GCVE-100-121148
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 07/11/2018 11:02
Updated: 08/05/2024 15:46
Changes: 07/11/2018 11:02 (66), 03/01/2020 20:15 (1), 04/06/2023 09:10 (4), 08/05/2024 15:46 (29)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!