Asterisk ast_parse_digest Function HTTP Digest Authentication String Parsing Remote Overflow (AST-2012-003)

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

The version of Asterisk installed on the remote host may be affected
by a buffer overflow vulnerability.

Description :

According to the version in its SIP banner, the version of Asterisk
running on the remote host is potentially affected by a vulnerability
that could allow a remote attacker to crash the server, or possibly
inject arbitrary code by sending an arbitrarily long string value for
HTTP Digest Authentication.

See also :

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

Solution :

Upgrade to Asterisk 1.8.10.1 / 10.2.1 or apply the patches listed in
the Asterisk advisory.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 7.8
(CVSS2#E:POC/RL:OF/RC:C)
Public Exploit Available : true

Family: Misc.

Nessus Plugin ID: 58433 ()

Bugtraq ID: 52815

CVE ID: CVE-2012-1184