CVE-2018-16831

MEDIUM

Smarty < 3.1.33 - Path Traversal via Trusted Directory Bypass

Title source: llm
STIX 2.1

Description

Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/smarty-php/smarty/issues/486

Scores

CVSS v3 5.9
EPSS 0.0266
EPSS Percentile 83.8%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-22
Status published
Products (2)
smarty/smarty 0 - 3.1.33Packagist
smarty/smarty 3.0.0 - 3.1.32
Published Sep 11, 2018
Tracked Since Feb 18, 2026