CVE-2018-13982: Path Traversal

Published Apr 26, 2018
·
Updated

SmartySecurity::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.

Other sources

SmartySecurity::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.

Trusted-Directory Bypass via Path Traversal

Affected Software

4 affected componentsFixes available
composer/smarty/smarty<3.1.33
composer/smarty/smarty<3.1.33
3.1.33
Smarty smarty<3.1.33
Debian Debian Linux=9.0

Event History

Apr 26, 2018
Advisory Published
07:38 PM
Sep 18, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-13982?

CVE-2018-13982 is classified as a high severity vulnerability due to its potential for arbitrary file access.

2

How do I fix CVE-2018-13982?

To fix CVE-2018-13982, upgrade Smarty to version 3.1.33 or later.

3

What types of attacks can exploit CVE-2018-13982?

CVE-2018-13982 can be exploited for path traversal attacks allowing attackers to read sensitive files on the server.

4

Which versions of Smarty are affected by CVE-2018-13982?

Smarty versions prior to 3.1.33 are affected by CVE-2018-13982.

5

What is the impact of CVE-2018-13982 on data security?

The impact of CVE-2018-13982 includes potential unauthorized access to sensitive files, leading to data breaches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203