CVE-2018-13982

HIGHCVSS 7.5/10EPSS 3.46%

Last modified

CVE-2018-13982 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.46% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
3.46%

87.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SmartySmarty< 3.1.33
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-13982?
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.
How severe is CVE-2018-13982?
CVE-2018-13982 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.46% probability of exploitation in the next 30 days.
How do I fix CVE-2018-13982?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-13982?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST