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.10

Type: local

Published: 2009/08/12

Updated: 2018/11/10

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

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: 2009/08/11

Vulnerability Publication Date: 2009/08/06

Reference Information

CVE: CVE-2009-2666

CWE: 310