Gentoo Logo

cURL: Arbitrary file access

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200903-21 / curl
Release Date March 09, 2009
Latest Revision March 09, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/curl < 7.19.4 >= 7.19.4 All supported architectures

Related bugreports: #260361

Synopsis

A vulnerability in cURL may allow for arbitrary file access.

2.  Impact Information

Background

cURL is a command line tool for transferring files with URL syntax, supporting numerous protocols.

Description

David Kierznowski reported that the redirect implementation accepts arbitrary Location values when CURLOPT_FOLLOWLOCATION is enabled.

Impact

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All cURL users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/curl-7.19.4"

4.  References



Print

Page updated March 09, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.