Bug 1136154 (CVE-2014-3613)
Summary: | CVE-2014-3613 curl: incorrect handling of IP addresses in cookie domain | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Murray McAllister <mmcallis> | ||||
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | unspecified | CC: | acathrow, anemec, bazulay, bmcclain, cfergeau, dblechte, gklein, idith, iheim, kdudka, lsurette, michal.skrivanek, rbalakri, security-response-team, slawomir, srevivo, szidek, thoger, wmealing, ykaul | ||||
Target Milestone: | --- | Keywords: | Security | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | curl 7.38.0 | Doc Type: | Bug Fix | ||||
Doc Text: |
It was found that the libcurl library did not correctly handle partial literal IP addresses when parsing received HTTP cookies. An attacker able to trick a user into connecting to a malicious server could use this flaw to set the user's cookie to a crafted domain, making other cookie-related issues easier to exploit.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-11 09:02:26 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: | 1139453, 1139454, 1140036, 1140037, 1140038, 1175776, 1215062 | ||||||
Bug Blocks: | 1136155, 1193283, 1210268 | ||||||
Attachments: |
|
Description
Murray McAllister
2014-09-02 04:15:01 UTC
Created attachment 933581 [details]
patch from upstream
This issue can affect applications using curl if they enabled cookie support and are used to access HTTP/HTTPS servers using IP address rather than host name. To take advantage of the problem, attacker needs to trick victim into connecting to their malicious server using its IP address. The IP of the malicious server must have the last two or three octets of it match relevant octets of a non-malicious server IP victim normally connects to (i.e. using example from comment 0, if victim normally connects to 192.168.0.1, attack's malicious server must use an IP ending with 168.0.1 or 0.1). In such case, attacker's server can send cookies with crafted 'domain' attribute that will be sent to the target server. This can provide an attacker with a way to exploit other cookie handling bugs on the target server (e.g. session fixation issues, or other issues related to improper sanitization of cookie values). It does not seem this issue can lead to leak of cookies in any reasonable use case. A non-malicious server would have to incorrectly set 'domain' attributes on cookies it returns to risk their expose to other servers. Statement: This issue affects the versions of curl as shipped with Red Hat Enterprise Linux 5 and is not planned to be corrected in future updates. Inktank Ceph Enterprise 1.1 and 1.2 receives only qualified Important and Critical impact security fixes. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Inktank Ceph Enterprise Support Matrix: http://www.inktank.com/enterprise/support/ This issue is public now. External References: http://curl.haxx.se/docs/adv_20140910A.html Created curl tracking bugs for this issue: Affects: fedora-all [bug 1140036] Created mingw-curl tracking bugs for this issue: Affects: fedora-all [bug 1140037] Affects: epel-7 [bug 1140038] curl-7.32.0-13.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. curl-7.37.0-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. curl-7.29.0-23.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. 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 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 |