CVE-2018-16831

Medium

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductSmarty
PublishedSep 11, 2018
First seenSep 11, 2018

How to fix

Update
  • smarty/smarty3.1.33 or later

Affected products

ProductAffected versionsFixed in
smarty smarty3.0.0 ≤ v ≤ 3.1.32—
smarty/smartyPackagistv < 3.1.333.1.33

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.