GHSA-6frx-2r5w-c524critical9.8
Smarty3 Arbitrary PHP Code Execution
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
smarty/smarty Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.0.7Ecosystem versions | 3.0.7 |
Version evidence: OSV · GHSA-6frx-2r5w-c524
View original version evidence (9 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2011-1028
- Patch github.com/smarty-php/smarty/commit/0154f17de2b2dd16ff9c016923015ac19af9c0cb
- Source reference github.com/smarty-php/smarty
- Source reference seclists.org/oss-sec/2011/q1/313
- Security advisory security-tracker.debian.org/tracker/CVE-2011-1028
- Source reference web.archive.org/web/20110609032516/http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
- Source reference www.smarty.net/forums/viewtopic.php