[arch-security] [ASA-201501-9] curl: url request injection
rgacogne at archlinux.org
Mon Jan 19 08:06:25 UTC 2015
Arch Linux Security Advisory ASA-201501-9
Date : 2015-01-18
CVE-ID : CVE-2014-8150
Package : curl
Type : url request injection
Remote : Yes
Link : https://wiki.archlinux.org/index.php/CVE
The package curl before version 7.40.0-1 is vulnerable to an URL request
injection issue when using a HTTP proxy.
Upgrade to 7.40.0-1.
# pacman -Syu "curl>=7.40.0-1"
The problem has been fixed upstream in version 7.40.0.
Only use URLs that are carefully stripped from line feeds and carriage
When libcurl sends a request to a server via a HTTP proxy, it copies the
entire URL into the request and sends if off.
If the given URL contains line feeds and carriage returns those will be
sent along to the proxy too, which allows the program to for example
send a separate HTTP request injected embedded in the URL.
Many programs allow some kind of external sources to set the URL or
provide partial pieces for the URL to ask for, and if the URL as
received from the user is not stripped good enough this flaw allows
malicious users to do additional requests in a way that was not
intended, or just to insert request headers into the request that the
program didn't intend.
A remote attacker may be able to inject arbitrary HTTP headers, or even
send a completely new HTTP request by placing CRLF in the URL passed to
curl or libcurl.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the arch-security