CVE-2018-13982

Published Sep 18, 2018 CVSS 3.1 · 7.5 High EPSS 3.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2618-1 smarty3 security update
Debian DLA Debian DLA DLA-2618-2 smarty3 regression update
Debian DLA Debian DLA DLA-2618-3 smarty3 regression update
EUVD EUVD EUVD-2022-2995 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.
Github GHSA Github GHSA GHSA-7gfx-wxfh-7rvm Smarty Path Traversal Vulnerability
Ubuntu USN Ubuntu USN USN-5348-1 Smarty vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 9:21 AM
Reserved
Jul 11, 2018, 12:00 AM
Status
Modified
Published
Sep 18, 2018, 9:29 PM
Modified
Jun 17, 2026, 1:40 AM