Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Gentoo: GLSA-201006-13 Normal: Smarty Critical PHP Execution Issue

gentoo
Calendar Grey June 2, 2010
Scroller Gentoo
Various security flaws found in the Smarty template framework could lead to remote code execution threats; ensure you update to protected versions.
Multiple vulnerabilities in the Smarty template engine might allow remote attackers to execute arbitrary PHP code.

Summary

Multiple vulnerabilities have been discovered in Smarty: * The vendor reported that the modifier.regex_replace.php plug-in contains an input sanitation flaw related to the ASCII NUL character (CVE-2008-1066).
* The vendor reported that the _expand_quoted_text() function in libs/Smarty_Compiler.class.php contains an input sanitation flaw via multiple vectors (CVE-2008-4810, CVE-2008-4811).
* Nine:Situations:Group::bookoo reported that the smarty_function_math() function in libs/plugins/function.math.php contains input sanitation flaw (CVE-2009-1669).

Resolution

All Smarty users should upgrade to an unaffected version: # emerge --sync # emerge --ask --oneshot --verbose ">=dev-php/smarty-2.6.23"
NOTE: This is a legacy GLSA. Updates for all affected architectures are available since June 2, 2009. It is likely that your system is already no longer affected by this issue.

References

[ 1 ] CVE-2008-1066 https://www.cve.org/CVERecord?id=CVE-2008-1066 [ 2 ] CVE-2008-4810 https://www.cve.org/CVERecord?id=CVE-2008-4810 [ 3 ] CVE-2008-4811 https://www.cve.org/CVERecord?id=CVE-2008-4811 [ 4 ] CVE-2009-1669 https://www.cve.org/CVERecord?id=CVE-2009-1669

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201006-13
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: Normal
Title: Smarty: Multiple vulnerabilities
Date: June 02, 2010
Bugs: #212147, #243856, #270494
ID: 201006-13

Synopsis

Multiple vulnerabilities in the Smarty template engine might allow remote attackers to execute arbitrary PHP code.

Background

Smarty is a template engine for PHP.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-php/smarty < 2.6.23 >= 2.6.23

Impact

===== These issues might allow a remote attacker to execute arbitrary PHP code.

Workaround

There is no known workaround at this time.