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: $Revision: 1.13 $

Type: local

Published: 2009/04/23

Modified: 2016/05/17

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS2#E:ND/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2009/02/24

Reference Information

CVE: CVE-2008-4810

BID: 31862

OSVDB: 49943

MDVSA: 2009:052

CWE: 94