FreeBSD : fetchmail -- improper SSL certificate subject verification (5179d85c-8683-11de-91b9-0022157515b2)

medium Nessus Plugin ID 40571

Synopsis

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

Description

Matthias Andree reports :

Moxie Marlinspike demonstrated in July 2009 that some CAs would sign certificates that contain embedded NUL characters in the Common Name or subjectAltName fields of ITU-T X.509 certificates.

Applications that would treat such X.509 strings as NUL-terminated C strings (rather than strings that contain an explicit length field) would only check the part up to and excluding the NUL character, so that certificate names such as www.good.example\0www.bad.example.com would be mistaken as a certificate name for www.good.example.
fetchmail also had this design and implementation flaw.

Solution

Update the affected package.

See Also

http://www.fetchmail.info/fetchmail-SA-2009-01.txt

http://www.nessus.org/u?0278d4a8

Plugin Details

Severity: Medium

ID: 40571

File Name: freebsd_pkg_5179d85c868311de91b90022157515b2.nasl

Version: 1.12

Type: local

Published: 8/12/2009

Updated: 1/6/2021

Supported Sensors: 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:freebsd:freebsd:fetchmail, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 8/11/2009

Vulnerability Publication Date: 8/6/2009

Reference Information

CVE: CVE-2009-2666

CWE: 310