Skip to main content
← All vulnerabilities
CVE-2018-13982GHSA-7GFX-WXFH-7RVM

Smarty_Security::isTrustedResourceDir() in Smarty before 3.1.33 is prone to a path traversal vulnerability due to insufficient template code

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.33
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • smarty/smartyPackagist

    fixed in 3.1.33

References 9

GitHub · smarty-php/smarty

GitHub · sbaresearch/advisories

lists.debian.org