Asterisk TLS Certificate Common Name NULL Byte Vulnerability (AST-2015-003)

This script is Copyright (C) 2015-2016 Tenable Network Security, Inc.


Synopsis :

A telephony application running on the remote host is affected by a
certificate validation vulnerability.

Description :

According to its SIP banner, the version of Asterisk running on the
remote host is potentially affected by flaw related to certificate
validation when registering a SIP TLS device due to not properly
verifying a server hostname against an X.509 Common Name (CN) field
that has a NULL byte appended after the expected results. A
man-in-the-middle attacker can exploit this, via a crafted
certificate, to spoof arbitrary SSL servers and intercept network
traffic.

Note that Nessus has not tested for this issue but has instead relied
only on the application's self-reported version number.

See also :

http://downloads.asterisk.org/pub/security/AST-2015-003.html
https://issues.asterisk.org/jira/browse/ASTERISK-24847

Solution :

Upgrade to Asterisk 1.8.32.3 / 11.17.1 / 12.8.2 / 13.3.2 /
1.8.28-cert5 / 11.6-cert11 / 13.1-cert2, or apply the appropriate
patch listed in the Asterisk advisory.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.7
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 82901 ()

Bugtraq ID: 74022

CVE ID: CVE-2015-3008

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now