Debian DSA-1520-1 : smarty - insufficient input sanitising

high Nessus Plugin ID 31591

Synopsis

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

Description

It was discovered that the regex module in Smarty, a PHP templating engine, allows attackers to call arbitrary PHP functions via templates using the regex_replace plugin by a specially crafted search string.

Solution

Upgrade the smarty package.

For the old stable distribution (sarge), this problem has been fixed in version 2.6.9-1sarge1.

For the stable distribution (etch), this problem has been fixed in version 2.6.14-1etch1.

See Also

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

https://www.debian.org/security/2008/dsa-1520

Plugin Details

Severity: High

ID: 31591

File Name: debian_DSA-1520.nasl

Version: 1.16

Type: local

Agent: unix

Published: 3/17/2008

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

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

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

Patch Publication Date: 3/16/2008

Reference Information

CVE: CVE-2008-1066

CWE: 20

DSA: 1520