CVE-2018-13982 — Path Traversal in Smarty
Severity
7.5HIGHNVD
EPSS
2.3%
top 15.15%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 18
Latest updateJun 21
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6
Affected Packages3 packages
Also affects: Debian Linux 9.0
Patches
🔴Vulnerability Details
6📋Vendor Advisories
4💬Community
4Bugzilla▶
CVE-2018-13982 php-Smarty: Path traversal vulnerability in Smarty_Security::isTrustedResourceDir() [epel-all]↗2018-09-19
Bugzilla▶
CVE-2018-13982 php-smarty: Path traversal vulnerability in Smarty_Security::isTrustedResourceDir()↗2018-09-19
Bugzilla▶
CVE-2018-13982 php-Smarty: Path traversal vulnerability in Smarty_Security::isTrustedResourceDir() [fedora-all]↗2018-09-19
Bugzilla▶
CVE-2018-13982 php-Smarty2: php-smarty: Path traversal vulnerability in Smarty_Security::isTrustedResourceDir() [fedora-all]↗2018-09-19