FreeBSD : serf -- SSL Certificate Null Byte Poisoning (69048656-2187-11e4-802c-20cf30e32f6d)

Medium Nessus Plugin ID 77124


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


serf Development list reports :

Serf provides APIs to retrieve information about a certificate. These APIs return the information as NUL terminated strings (commonly called C strings). X.509 uses counted length strings which may include a NUL byte. This means that a library user will interpret any information as ending upon seeing this NUL byte and will only see a partial value for that field.

Attackers could exploit this vulnerability to create a certificate that a client will accept for a different hostname than the full certificate is actually for by embedding a NUL byte in the certificate.

This can lead to a man-in-the-middle attack. There are no known instances of this problem being exploited in the wild and in practice it should be difficult to actually exploit this vulnerability.


Update the affected package.

See Also

Plugin Details

Severity: Medium

ID: 77124

File Name: freebsd_pkg_69048656218711e4802c20cf30e32f6d.nasl

Version: $Revision: 1.2 $

Type: local

Published: 2014/08/12

Modified: 2014/08/21

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:serf, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 2014/08/11

Vulnerability Publication Date: 2014/08/06

Reference Information

CVE: CVE-2014-3504