CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Smarty

CVE-2018-13982
Smarty vulnerability

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code sanitization. This allows attackers controlling the executed template code to bypass the trusted directory security restriction and read arbitrary files.

Affected products

Smarty, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Smarty runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Smarty products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.