Debian DSA-1919-1 : smarty - several vulnerabilities

critical Nessus Plugin ID 44784

Language:

Synopsis

The remote Debian host is missing a security-related update.

Description

Several remote vulnerabilities have been discovered in Smarty, a PHP templating engine. The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2008-4810 The _expand_quoted_text function allows for certain restrictions in templates, like function calling and PHP execution, to be bypassed.

- CVE-2009-1669 The smarty_function_math function allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function.

Solution

Upgrade the smarty package.

For the old stable distribution (etch), these problems have been fixed in version 2.6.14-1etch2.

For the stable distribution (lenny), these problems have been fixed in version 2.6.20-1.2.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504328

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529810

https://security-tracker.debian.org/tracker/CVE-2008-4810

https://security-tracker.debian.org/tracker/CVE-2009-1669

https://www.debian.org/security/2009/dsa-1919

Plugin Details

Severity: Critical

ID: 44784

File Name: debian_DSA-1919.nasl

Version: 1.13

Type: local

Agent: unix

Published: 2/24/2010

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:smarty, cpe:/o:debian:debian_linux:4.0, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/25/2009

Reference Information

CVE: CVE-2008-4810, CVE-2009-1669

BID: 31862, 34918

CWE: 20, 94

DSA: 1919