![]() |
|
ESB-2013.0535 - [Win][UNIX/Linux] libcurl: Access confidential data - Remote/unauthenticated |
|
Date: 16 April 2013 Original URL: http://www.auscert.org.au/render.html?cid=1980&it=17377 References: ESB-2013.0561 ESB-2013.0579 Click here for PGP verifiable version -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
===========================================================================
AUSCERT External Security Bulletin Redistribution
ESB-2013.0535
Project cURL Security Advisory, April 12th 2013
16 April 2013
===========================================================================
AusCERT Security Bulletin Summary
---------------------------------
Product: libcurl
Publisher: Project cURL
Operating System: UNIX variants (UNIX, Linux, OSX)
Windows
Impact/Access: Access Confidential Data -- Remote/Unauthenticated
Resolution: Patch/Upgrade
CVE Names: CVE-2013-1944
Original Bulletin:
http://curl.haxx.se/docs/adv_20130412.html
- --------------------------BEGIN INCLUDED TEXT--------------------
libcurl cookie domain tailmatch
===============================
Project cURL Security Advisory, April 12th 2013
http://curl.haxx.se/docs/security.html
1. VULNERABILITY
libcurl is vulnerable to a cookie leak vulnerability when doing requests
across domains with matching tails.
When communicating over HTTP(S) and having libcurl's cookie engine enabled,
libcurl will store and hold cookies for use when subsequent requests are
done to hosts and paths that match those kept cookies. Due to a bug in the
tailmatching function, libcurl could wrongly send cookies meant for the
domain 'ample.com' when communicating with 'example.com'.
This vulnerability can be used to hijack sessions in targetted attacks since
registering domains using a known domain's name as an ending is trivial.
Both curl the command line tool and applications using the libcurl library
are vulnerable.
There are no known exploits available at this time.
The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CVE-2013-1944 to this issue.
2. AFFECTED VERSIONS
Affected versions: all versions to and including 7.29.0
Not affected versions: curl >= 7.30.0
libcurl is used by many applications, but not always advertised as such!
3. THE SOLUTION
libcurl 7.30.0 implements the function properly and will not send cookies to
sites just because the host names use the same tail.
4. RECOMMENDATIONS
We suggest you take one of the following actions immediately, in order of
preference:
A - Upgrade to curl and libcurl 7.30.0
B - Apply this patch and rebuild libcurl
http://curl.haxx.se/curl-tailmatch.patch
C - Disable use of cookies or HTTP entirely in your application
5. TIME LINE
Vulnerability found and patched by YAMADA Yasuharu.
It was reported (publicly) to the curl project on April 9th 2013.
curl 7.30.0 was released on April 12th 2013, coordinated with the
publication of this advisory.
6. CREDITS
Reported and fixed by YAMADA Yasuharu. Thanks a lot!
- --------------------------END INCLUDED TEXT--------------------
You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.
NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.
NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.
Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.
Previous advisories and external security bulletins can be retrieved from:
http://www.auscert.org.au/render.html?cid=1980
===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072
Internet Email: auscert@auscert.org.au
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967
iQIVAwUBUWzOQe4yVqjM2NGpAQLUYQ/+Idc9WMCUeTAKkCEdVPcgSKeuDuytfHw0
NKW8maf6dYjjORAEGyjFr0Iz1TLM9DRwu2L9L2Z0eLOBWAXad1RY1yM2iEWYL4R5
V8120wk70McYcLSkJCNbVwlUVqAcuGY+u1zluMPxWLJJB3kGUWSYeqNVgn4kjpdI
IERc+qhitHovoX0w+39eWLAzFOUEt27egVTT+VXPOYOh3TrD3VXFs6ZOkhTod57F
EyOikyM9vjcLijsPOwpUK4x1XeqVNESbWI/SfFhUdZ5asZKPPqOlvufhH6CjQ8l3
cSGI1rPqpH8dqMUK2y1lHeA8O/d2475Kki9nI7BipilUSFZxNytn2y9h/OB+9DpK
wml7BQrnksAIxL+Cv4UP0NjeJsuuxfStHQkb/X9hA6sJTHWGR2CjrfSBRRmRZm8I
lEzZg6x5bUQGcx5J+b7TNgtm1XiFuYb/Jil1xGlOVAkgxKANClPqVdBEQAAI5pga
X/uytrsKlEo0S7UDQ1ewaWhiKgfj1FRXdlpdTSsOz+iOxcHHOIkEEbnNA+FxKUj1
sy3ohVBxNk04TKLrtN0H/rNmB0OlxjG2HLXjnnIjqw2QlY3/Hu0zsUANzWvLekzb
5eyE+cRQQCY4f95C9qECIyylx26JZARRu2ZPARlZK2FOhDJqePnKHaMJaAxfpQ9F
Jud3NZtVYio=
=U24u
-----END PGP SIGNATURE-----
|