Bug 950577 (CVE-2013-1944) - CVE-2013-1944 curl: Cookie domain suffix match vulnerability
Summary: CVE-2013-1944 curl: Cookie domain suffix match vulnerability
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-1944
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
: 950574 (view as bug list)
Depends On: 950934 950935 950937 950941 951417
Blocks: 950588
TreeView+ depends on / blocked
 
Reported: 2013-04-10 12:54 UTC by Jan Lieskovsky
Modified: 2023-05-11 22:26 UTC (History)
5 users (show)

Fixed In Version: curl 7.30.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-24 20:55:15 UTC
Embargoed:


Attachments (Terms of Use)
Local copy of proposed upstream patch (1.83 KB, patch)
2013-04-11 08:26 UTC, Jan Lieskovsky
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0771 0 normal SHIPPED_LIVE Moderate: curl security update 2013-04-24 21:36:05 UTC

Description Jan Lieskovsky 2013-04-10 12:54:29 UTC
A security flaw was found in the way the library of cURL, an utility for retrieval of files from remote servers, performed match of cookie domain names when making a decision if (previously stored cookies) should be sent to particular domain. Due to a bug in match function implementation, (formerly) the decision / match succeeded also in cases, where just suffix / certain part of the domain name matched the domain name, the current request originated from. A remote attacker could use this flaw to possibly hijack the user session of the victim by submitting a request containing a specially-crafted domain name.

References:
[1] http://thread.gmane.org/gmane.comp.web.curl.library/38986

Acknowledgements:

Red Hat would like to thank the cURL project for reporting this issue. Upstream acknowledges YAMADA Yasuharu as the original reporter.

Comment 3 Jan Lieskovsky 2013-04-10 13:09:30 UTC
This issue affects the versions of the curl package, as shipped with Red Hat Enterprise Linux 5 and 6.

--

This issue affects the versions of the curl package, as shipped with Fedora release of 17 and 18.

Comment 6 Jan Lieskovsky 2013-04-11 08:22:44 UTC
The CVE identifier of CVE-2013-1944 has been assigned to this issue.

Comment 7 Jan Lieskovsky 2013-04-11 08:24:37 UTC
Proposed upstream patch is available at:
  http://curl.haxx.se/curl-tailmatch.patch

Comment 8 Jan Lieskovsky 2013-04-11 08:26:58 UTC
Created attachment 734032 [details]
Local copy of proposed upstream patch

Comment 10 Jan Lieskovsky 2013-04-12 08:58:13 UTC
External References:
http://curl.haxx.se/docs/adv_20130412.html

Comment 11 Jan Lieskovsky 2013-04-12 08:59:41 UTC
Created curl tracking bugs for this issue

Affects: fedora-all [bug 951417]

Comment 16 Fedora Update System 2013-04-18 02:34:24 UTC
curl-7.27.0-8.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2013-04-20 19:45:30 UTC
curl-7.29.0-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 errata-xmlrpc 2013-04-24 17:37:24 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 6

Via RHSA-2013:0771 https://rhn.redhat.com/errata/RHSA-2013-0771.html

Comment 19 Fedora Update System 2013-05-01 04:23:56 UTC
curl-7.29.0-6.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2013-05-06 03:49:02 UTC
curl-7.27.0-9.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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