GLSA 200903-21: cURL: Arbitrary file access

Severity:normal
Title:cURL: Arbitrary file access
Date:03/09/2009
Bugs: #260361
ID:200903-21

Synopsis

A vulnerability in cURL may allow for arbitrary file access.

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-misc/curl < 7.19.4 >= 7.19.4 All supported architectures

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.

Workaround

There is no known workaround at this time.

Resolution

All cURL users should upgrade to the latest version:

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

References

Availability

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?

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 security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!