CVEvulnerability
CVE-2018-16831
5.9 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-09-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 5.9 MEDIUM — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 7.1 HIGH — AV:N/AC:M/Au:N/C:C/I:N/A:N
- Weaknesses
- CWE-22
Description
Smarty before 3.1.33-dev-4 allows attackers to bypass the trusted_dir protection mechanism via a file:./../ substring in an include statement.
Affected configurations
• smarty smarty (>= 3.0.0 <= 3.1.32)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/smarty-php/smarty/issues/486 Exploit, Third Party Advisory
- https://github.com/smarty-php/smarty/issues/486 Exploit, Third Party Advisory