Bug 1187123

Summary: asterisk: mitigation for libcURL HTTP request injection vulnerability (AST-2015-002)
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: itamar, jeff, jrusnack, lmadsen, rbryant
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: asterisk 1.8.32.2, asterisk 11.15.1, asterisk 12.8.1, asterisk 13.1.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:38:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1187124, 1187126    
Bug Blocks:    

Description Vasyl Kaigorodov 2015-01-29 11:46:26 UTC
CVE-2014-8150 reported an HTTP request injection vulnerability in libcURL. Asterisk uses libcURL in its func_curl.so module (the CURL() dialplan function), as well as its res_config_curl.so (cURL realtime backend) modules.

Since Asterisk may be configured to allow for user-supplied URLs to be passed to libcURL, it is possible that an attacker could use Asterisk as an attack vector to inject unauthorized HTTP requests if the version of libcURL installed on the Asterisk server is affected by CVE-2014-8150.

Asterisk has been patched with a similar patch as libcURL was for CVE-2014-8150. This means that carriage return and linefeed characters are forbidden from being in HTTP URLs that will be passed to libcURL.

See also:
http://seclists.org/fulldisclosure/2015/Jan/117

Upstream patches:
Asterisk 1.8: http://downloads.asterisk.org/pub/security/AST-2015-002-1.8.diff
Asterisk 11: http://downloads.asterisk.org/pub/security/AST-2015-002-11.diff

Comment 1 Vasyl Kaigorodov 2015-01-29 11:46:47 UTC
Created asterisk tracking bugs for this issue:

Affects: fedora-all [bug 1187124]
Affects: epel-all [bug 1187126]

Comment 2 Tomas Hoger 2015-01-29 12:05:18 UTC
The curl issue was already fixed in Fedora - see bug 1180062.

Comment 3 Product Security DevOps Team 2019-06-08 02:38:34 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.