GLSA-201006-13 : Smarty: Multiple vulnerabilities

This script is Copyright (C) 2010-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201006-13
(Smarty: Multiple vulnerabilities)

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).

Impact :

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

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201006-13.xml

Solution :

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.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 46793 (gentoo_GLSA-201006-13.nasl)

Bugtraq ID: 28105
31862
34918

CVE ID: CVE-2008-1066
CVE-2008-4810
CVE-2008-4811
CVE-2009-1669