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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

History

02 Nov 2021, 14:01

Type Values Removed Values Added
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html - Mailing List, Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00015.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00015.html - Mailing List, Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html - Mailing List, Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

20 Oct 2021, 14:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/10/msg00015.html -

16 Apr 2021, 11:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html -

05 Apr 2021, 09:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html -

Information

Published : 2018-09-18 21:29

Updated : 2023-12-10 12:44


NVD link : CVE-2018-13982

Mitre link : CVE-2018-13982

CVE.ORG link : CVE-2018-13982


JSON object : View

Products Affected

debian

  • debian_linux

smarty

  • smarty
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')