Mandriva Linux Security Advisory : php-smarty (MDVSA-2009:052)

high Nessus Plugin ID 37766


The remote Mandriva Linux host is missing one or more security updates.


A vulnerability has been identified and corrected in php-smarty :

The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka php executed in templates


Update the affected php-smarty and / or php-smarty-manual packages.

Plugin Details

Severity: High

ID: 37766

File Name: mandriva_MDVSA-2009-052.nasl

Version: 1.17

Type: local

Published: 4/23/2009

Updated: 1/6/2021

Risk Information


Risk Factor: Medium

Score: 5.8


Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:php-smarty, p-cpe:/a:mandriva:linux:php-smarty-manual, cpe:/o:mandriva:linux:2008.0, cpe:/o:mandriva:linux:2008.1, cpe:/o:mandriva:linux:2009.0

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 2/24/2009

Reference Information

CVE: CVE-2008-4810

BID: 31862

MDVSA: 2009:052

CWE: 94