PT-2015-4013 · Curl+6 · Libcurl+6

Andrey Labunets

·

Published

2014-11-05

·

Updated

2024-06-15

·

CVE-2014-8150

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions libcurl versions 6.0 through 7.x before 7.40.0
Description The issue allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via CRLF sequences in a URL when using an HTTP proxy. This occurs because libcurl copies the entire URL into the request and sends it to the proxy, including any line feeds and carriage returns present in the URL. This can be exploited by malicious users to send additional requests or insert request headers that the program did not intend, particularly in programs that allow external sources to set or provide partial pieces for the URL.
Recommendations For libcurl versions 6.0 through 7.x before 7.40.0, update to version 7.40.0 or later to resolve the issue. As a temporary workaround, consider validating and stripping URLs of CRLF sequences before sending them to the proxy to minimize the risk of exploitation. Restrict access to the HTTP proxy to minimize the risk of malicious users injecting arbitrary HTTP headers.

Fix

HTTP Request/Response Smuggling

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2014-2327
CESA-2015_1254
CESA-2015_2159
CVE-2014-8150
DLA-134-1
DSA-3122-1
MGASA-2015-0020
OPENSUSE-SU-2024:10303-1
RHSA-2015:1254
RHSA-2015:2159
RHSA-2015_1254
RHSA-2015_2159
USN-2474-1

Affected Products

Alt Linux
Centos
Junos
Red Hat
Suse
Ubuntu
Libcurl