Asterisk libcURL HTTP Request Injection (AST-2015-002)

medium Nessus Plugin ID 81257
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

A telephony application running on the remote host is affected by an HTTP request injection vulnerability.

Description

According to its SIP banner, the version of Asterisk running on the remote host is potentially affected by an HTTP request injection vulnerability due to a flaw within the included libcURL library in the 'parseurlandfillconn' function when handling line feeds and carriage returns. A remote attacker, using a specially crafted request, could exploit this to inject unauthorized HTTP requests containing malicious data or request headers.

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

Solution

Upgrade to Asterisk 1.8.32.2 / 11.15.1 / 12.8.1 / 13.1.1 / 1.8.28-cert4 / 11.6-cert10, or apply the appropriate patch listed in the Asterisk advisory.

See Also

http://downloads.asterisk.org/pub/security/AST-2015-002.html

https://issues.asterisk.org/jira/browse/ASTERISK-24676

Plugin Details

Severity: Medium

ID: 81257

File Name: asterisk_ast_2015_002.nasl

Version: 1.9

Type: remote

Family: Misc.

Published: 2/10/2015

Updated: 6/27/2018

Dependencies: asterisk_detection.nasl

Configuration: Enable paranoid mode

Risk Information

VPR

Risk Factor: Low

Score: 2.7

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:digium:asterisk

Required KB Items: asterisk/sip_detected, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 1/12/2015

Vulnerability Publication Date: 1/8/2015

Reference Information

CVE: CVE-2014-8150

BID: 71964