Debian DSA-2763-1 : pyopenssl - hostname check bypassing

medium Nessus Plugin ID 70105

Synopsis

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

Description

It was discovered that PyOpenSSL, a Python wrapper around the OpenSSL library, does not properly handle certificates with NULL characters in the Subject Alternative Name field.

A remote attacker in the position to obtain a certificate for 'www.foo.org\0.example.com' from a CA that a SSL client trusts, could use this to spoof 'www.foo.org' and conduct man-in-the-middle attacks between the PyOpenSSL-using client and the SSL server.

Solution

Upgrade the pyopenssl packages.

For the oldstable distribution (squeeze), this problem has been fixed in version 0.10-1+squeeze1.

For the stable distribution (wheezy), this problem has been fixed in version 0.13-2+deb7u1.

See Also

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

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

https://packages.debian.org/source/wheezy/pyopenssl

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

Plugin Details

Severity: Medium

ID: 70105

File Name: debian_DSA-2763.nasl

Version: 1.10

Type: local

Agent: unix

Published: 9/25/2013

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:pyopenssl, cpe:/o:debian:debian_linux:6.0, cpe:/o:debian:debian_linux:7.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: 9/24/2013

Reference Information

CVE: CVE-2013-4314

BID: 62258

DSA: 2763