Debian DLA-3033-1 : smarty3 - LTS security update

high Nessus Plugin ID 161688

Synopsis

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

Description

The remote Debian 9 host has a package installed that is affected by a vulnerability as referenced in the dla-3033 advisory.

- Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to versions 3.1.45 and 4.1.1, template authors could inject php code by choosing a malicious {block} name or {include} file name. Sites that cannot fully trust template authors should upgrade to versions 3.1.45 or 4.1.1 to receive a patch for this issue. There are currently no known workarounds. (CVE-2022-29221)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the smarty3 packages.

For Debian 9 stretch, this problem has been fixed in version 3.1.31+20161214.1.c7d42e4+selfpack1-2+deb9u6.

See Also

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

https://security-tracker.debian.org/tracker/source-package/smarty3

https://www.debian.org/lts/security/2022/dla-3033

https://security-tracker.debian.org/tracker/CVE-2022-29221

https://packages.debian.org/source/stretch/smarty3

Plugin Details

Severity: High

ID: 161688

File Name: debian_DLA-3033.nasl

Version: 1.4

Type: local

Agent: unix

Published: 5/31/2022

Updated: 10/26/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.1

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

CVSS Score Source: CVE-2022-29221

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:smarty3, cpe:/o:debian:debian_linux:9.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: 5/29/2022

Vulnerability Publication Date: 5/24/2022

Reference Information

CVE: CVE-2022-29221