GitHub Advisoryadvisory · Packagist
GHSA-6frx-2r5w-c524 Smarty3 Arbitrary PHP Code Execution
CRITICAL
Official page ↗
- Aliases
- CVE-2011-1028
- Ecosystem
- Packagist
- Packages
- smarty/smarty
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2024-01-12
Affected packages
• Packagist smarty/smarty: < 3.0.7 → fixed in 3.0.7
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.
Related
Alias · CVE (1)
- CVE-2011-1028 The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-1028 advisory
- https://github.com/smarty-php/smarty/commit/0154f17de2b2dd16ff9c016923015ac19af9c0cb web
- https://github.com/smarty-php/smarty package
- https://seclists.org/oss-sec/2011/q1/313 web
- https://security-tracker.debian.org/tracker/CVE-2011-1028 web
- https://web.archive.org/web/20110609032516/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt web
- https://www.smarty.net/forums/viewtopic.php?t=18815 web