Debian DLA-792-1 : libphp-swiftmailer security update

critical Nessus Plugin ID 96636

Synopsis

The remote Debian host is missing a security update.

Description

Dawid Golunski from legalhackers-com [1] discovered that the mail transport in Swift Mailer allowed remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \' (backslash double quote) in a crafted e-mail address in the From, ReturnPath, or Sender header.

[1] https://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Ex ec-CVE-2016-10074-Vuln.html

For Debian 7 'Wheezy', these problems have been fixed in version 4.1.5-1+deb7u1.

We recommend that you upgrade your libphp-swiftmailer packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected libphp-swiftmailer package.

See Also

http://www.nessus.org/u?4b8b379d

https://lists.debian.org/debian-lts-announce/2017/01/msg00027.html

https://packages.debian.org/source/wheezy/libphp-swiftmailer

Plugin Details

Severity: Critical

ID: 96636

File Name: debian_DLA-792.nasl

Version: 3.5

Type: local

Agent: unix

Published: 1/20/2017

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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:libphp-swiftmailer, cpe:/o:debian:debian_linux:7.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: 1/19/2017

Reference Information

CVE: CVE-2016-10074