smarty-php/smarty · Security
Smarty3 Arbitrary PHP Code Execution
- GHSA ID
- GHSA-6frx-2r5w-c524
- CVE ID
- CVE-2011-1028
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the sysplugins/smarty_internal_compile_private_special_variable.php file.
CWEs
- CWE-20 · Improper Input Validation
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-1028 ↗
- https://seclists.org/oss-sec/2011/q1/313 ↗
- https://security-tracker.debian.org/tracker/CVE-2011-1028 ↗
- https://github.com/smarty-php/smarty/commit/0154f17de2b2dd16ff9c016923015ac19af9c0cb ↗
- https://web.archive.org/web/20110609032516/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt ↗
- https://www.smarty.net/forums/viewtopic.php?t=18815 ↗
- https://github.com/advisories/GHSA-6frx-2r5w-c524 ↗