Debian DSA-1852-1 : fetchmail - insufficient input validation

medium Nessus Plugin ID 44717

Language:

Synopsis

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

Description

It was discovered that fetchmail, a full-featured remote mail retrieval and forwarding utility, is vulnerable to the 'Null Prefix Attacks Against SSL/TLS Certificates' recently published at the Blackhat conference. This allows an attacker to perform undetected man-in-the-middle attacks via a crafted ITU-T X.509 certificate with an injected null byte in the subjectAltName or Common Name fields.

Note, as a fetchmail user you should always use strict certificate validation through either these option combinations: sslcertck ssl sslproto ssl3 (for service on SSL-wrapped ports) or sslcertck sslproto tls1 (for STARTTLS-based services)

Solution

Upgrade the fetchmail packages.

For the oldstable distribution (etch), this problem has been fixed in version 6.3.6-1etch2.

For the stable distribution (lenny), this problem has been fixed in version 6.3.9~rc2-4+lenny1.

See Also

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

Plugin Details

Severity: Medium

ID: 44717

File Name: debian_DSA-1852.nasl

Version: 1.10

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: Low

Score: 3.7

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:fetchmail, 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

Patch Publication Date: 8/7/2009

Reference Information

CVE: CVE-2009-2666

CWE: 310

DSA: 1852