Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1213351 - (CVE-2015-3148) CVE-2015-3148 curl: Negotiate not treated as connection-oriented
CVE-2015-3148 curl: Negotiate not treated as connection-oriented
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150422,repor...
: Security
Depends On: 1214183 1214795 1214796 1215051 1215062
Blocks: 1193283 1210268 1213355
  Show dependency treegraph
 
Reported: 2015-04-20 07:10 EDT by Vasyl Kaigorodov
Modified: 2016-10-24 09:41 EDT (History)
22 users (show)

See Also:
Fixed In Version: curl 7.42.0
Doc Type: Bug Fix
Doc Text:
It was discovered that libcurl could incorrectly reuse Negotiate authenticated HTTP connections for subsequent requests. If an application using libcurl established a Negotiate authenticated HTTP connection to a server and sent subsequent requests with different credentials, the connection could be re-used with the initial set of credentials instead of using the new ones.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-10-24 09:41:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1254 normal SHIPPED_LIVE Moderate: curl security, bug fix, and enhancement update 2015-07-20 13:50:03 EDT
Red Hat Product Errata RHSA-2015:2159 normal SHIPPED_LIVE Moderate: curl security, bug fix, and enhancement update 2015-11-19 03:26:18 EST

  None (edit)
Description Vasyl Kaigorodov 2015-04-20 07:10:54 EDT
libcurl keeps a pool of its last few connections around after use to
fascilitate easy, conventient and completely transparent connection re-use for
applications.

When doing HTTP requests Negotiate authenticated, the entire connnection may
become authenticated and not just the specific HTTP request which is otherwise
how HTTP works, as Negotiate can basically use NTLM under the hood. curl was
not adhering to this fact but would assume that such requests would also be
authenticated per request.

The net effect is that libcurl may end up re-using an authenticated Negotiate
connection and sending subsequent requests on it using new credentials, while
the connection remains authenticated with a previous initial credentials
setup.

We are not aware of any exploits of this flaw.

Affected versions: from libcurl 7.10.6 to and including 7.41.0

Acknowledgements:

Red Hat would like to thank Daniel Stenberg (curl upstream) for reporting this issue. Upstream acknowledges Isaac Boukris as the original reporter.
Comment 1 Martin Prpič 2015-04-22 03:55:29 EDT
External References:

http://curl.haxx.se/docs/adv_20150422B.html
Comment 2 Martin Prpič 2015-04-22 03:57:15 EDT
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 1214183]
Comment 3 Stefan Cornelius 2015-04-23 05:53:16 EDT
Note: Upstream states that the patch for libcurl 7.42.0 is only a workaround.
Comment 4 Stefan Cornelius 2015-04-23 10:32:57 EDT
Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 1214795]
Affects: epel-7 [bug 1214796]
Comment 5 Stefan Cornelius 2015-04-23 10:38:39 EDT
Workaround patch:
http://curl.haxx.se/CVE-2015-3148.patch
Comment 8 Huzaifa S. Sidhpurwala 2015-04-24 04:40:29 EDT
Statement:

This issue affects the version of curl package as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This issue is not planned to be addressed in a future update for Red Hat Enterprise Linux 5.
Comment 10 Fedora Update System 2015-04-26 08:42:49 EDT
curl-7.40.0-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2015-04-28 09:01:16 EDT
curl-7.32.0-20.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2015-05-02 14:11:21 EDT
curl-7.37.0-14.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 16 errata-xmlrpc 2015-07-22 01:44:43 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:1254 https://rhn.redhat.com/errata/RHSA-2015-1254.html
Comment 18 errata-xmlrpc 2015-11-19 02:08:25 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2159 https://rhn.redhat.com/errata/RHSA-2015-2159.html

Note You need to log in before you can comment on or make changes to this bug.