Debian DSA-2664-1 : stunnel4 - buffer overflow

medium Nessus Plugin ID 66296

Synopsis

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

Description

Stunnel, a program designed to work as an universal SSL tunnel for network daemons, is prone to a buffer overflow vulnerability when using the Microsoft NT LAN Manager (NTLM) authentication ('protocolAuthentication = NTLM') together with the 'connect'protocol method ('protocol = connect'). With these prerequisites and using stunnel4 in SSL client mode ('client = yes') on a 64 bit host, an attacker could possibly execute arbitrary code with the privileges of the stunnel process, if the attacker can either control the specified proxy server or perform man-in-the-middle attacks on the tcp session between stunnel and the proxy sever.

Note that for the testing distribution (wheezy) and the unstable distribution (sid), stunnel4 is compiled with stack smashing protection enabled, which should help protect against arbitrary code execution.

Solution

Upgrade the stunnel4 packages.

For the stable distribution (squeeze), this problem has been fixed in version 3:4.29-1+squeeze1.

See Also

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

https://packages.debian.org/source/squeeze/stunnel4

https://www.debian.org/security/2013/dsa-2664

Plugin Details

Severity: Medium

ID: 66296

File Name: debian_DSA-2664.nasl

Version: 1.15

Type: local

Agent: unix

Published: 5/3/2013

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 4.9

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:stunnel4, cpe:/o:debian:debian_linux:6.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/2/2013

Reference Information

CVE: CVE-2013-1762

BID: 58277

DSA: 2664