cURL / libcURL 7.x < 7.40.0 Remote Security Bypass

Medium Nessus Network Monitor Plugin ID 8620

Synopsis

The cURL program is a library and command-line tool for transferring data using various protocols, including HTTP, FTP, and LDAP. A vulnerable version of cURL was detected from the host.

Description

Versions of cURL / libcURL older than 7.40.0 are unpatched for a security bypass vulnerability because it fails to properly handle URLs with embedded end-of-line characters. Specifically, this issue affects the 'parseurlandfillconn()' function of the 'lib/url.c' source file. An attacker can exploit this issue to inject additional headers to the request or construct additional requests.

Solution

Upgrade the affected packages; the next version of cURL/libcURL that fixes the issue is cURL 7.40.0.

See Also

http://curl.haxx.se/mail/archive-2015-01/0019.html

http://curl.haxx.se/docs/adv_20150108B.html

Plugin Details

Severity: Medium

ID: 8620

Family: Web Clients

Published: 2015/01/09

Modified: 2016/12/10

Dependencies: 1735, 8314

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 5.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

CVSSv3

Base Score: 4.8

Temporal Score: 4.6

Vector: CVSS3#AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS3#E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:haxx:curl

Patch Publication Date: 2015/01/08

Vulnerability Publication Date: 2015/01/08

Reference Information

CVE: CVE-2014-8150

BID: 71964