FreeBSD : asterisk -- Remote Crash Vulnerability in WebSocket Server (94268da0-8118-11e4-a180-001999f8d30b)

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


Synopsis :

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

Description :

The Asterisk project reports :

When handling a WebSocket frame the res_http_websocket module
dynamically changes the size of the memory used to allow the provided
payload to fit. If a payload length of zero was received the code
would incorrectly attempt to resize to zero. This operation would
succeed and end up freeing the memory but be treated as a failure.
When the session was subsequently torn down this memory would get
freed yet again causing a crash.

Users of the WebSocket functionality also did not take into account
that provided text frames are not guaranteed to be NULL terminated.
This has been fixed in chan_sip and chan_pjsip in the applicable
versions.

See also :

http://downloads.asterisk.org/pub/security/AST-2014-019.html
http://www.nessus.org/u?af1677cd

Solution :

Update the affected package.

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 79956 ()

Bugtraq ID:

CVE ID: CVE-2014-9374

Ready to Amp Up Your Nessus Experience?

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

Buy Nessus Professional Now