cbcvebase.
CVE-2018-13982
published 2018-09-18

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…

PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
3.46%
87.6th percentile
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.

Affected

4 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiansmarty3< smarty3 3.1.33+20180830.1.3a78a21f+selfpack1-1 (bookworm)smarty3 3.1.33+20180830.1.3a78a21f+selfpack1-1 (bookworm)
smartysmarty< 3.1.333.1.33
smartysmarty>= 0 < 3.1.333.1.33

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.