[ GLSA 200903-21 ] cURL: Arbitrary file access
Date: Mon, 09 Mar 2009 19:58:39 +0100
From: Tobias Heinlein <keytoaster@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200903-21 ] cURL: Arbitrary file access
OpenPGP: id=9CE3CA91
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig21E9DABD14C97EE0C1369AFC"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig21E9DABD14C97EE0C1369AFC
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200903-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: cURL: Arbitrary file access
Date: March 09, 2009
Bugs: #260361
ID: 200903-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
A vulnerability in cURL may allow for arbitrary file access.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
cURL is a command line tool for transferring files with URL syntax,
supporting numerous protocols.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-misc/curl < 7.19.4 >=3D 7.19.4
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
David Kierznowski reported that the redirect implementation accepts
arbitrary Location values when CURLOPT_FOLLOWLOCATION is enabled.
Impact
=3D=3D=3D=3D=3D=3D
A remote attacker could possibly exploit this vulnerability to make
remote HTTP servers trigger arbitrary requests to intranet servers and
read or overwrite arbitrary files via a redirect to a file: URL, or, if
the libssh2 USE flag is enabled, execute arbitrary commands via a
redirect to an scp: URL.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All cURL users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dnet-misc/curl-7.19.4"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2009-0037
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2009-0037
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200903-21.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
--------------enig21E9DABD14C97EE0C1369AFC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
iEYEARECAAYFAkm1ZuIACgkQD/IBIJzjypEMPQCeN795Ffyem7wJ5LgAwJyUlWJc
MoIAni1nRAaAd3UWNPSY9GJZzWYYgkyB
=yvQn
-----END PGP SIGNATURE-----
--------------enig21E9DABD14C97EE0C1369AFC--