PT-2018-3780 · Smarty+1 · Smarty+1

David Gnedt

+1

·

Publicado

2018-04-20

·

Atualizado

2022-05-13

·

CVE-2018-13982

CVSS v2.0

7.8

Alta

VetorAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Smarty versions prior to 3.1.33
Description The issue is related to a path traversal vulnerability due to insufficient template code sanitization in the Smarty Security::isTrustedResourceDir() method. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files. The vulnerability can be exploited by a remote attacker to gain unauthorized access to protected information.
Recommendations For versions prior to 3.1.33, update to version 3.1.33 or later to resolve the issue. As a temporary workaround, consider restricting access to sensitive files and directories to minimize the risk of exploitation.

Exploit

Correção

Path traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2022-02203
CVE-2018-13982
DLA-2618-1
DLA-2618-2
DLA-2618-3
GHSA-7GFX-WXFH-7RVM
MGASA-2018-0403
MGASA-2022-0127
USN-5348-1

Produtos afetados

Smarty
Ubuntu