cURL/libcurl 7.x < 7.49.1 RCE

Medium Nessus Network Monitor Plugin ID 9763

Synopsis

The host is running a version of cURL/libcurl that is vulnerable to a Remote Code Exection (RCE) attack vector.

Description

Versions of cURL and libcurl prior to 7.49.1 are affected by a flaw that is triggered when loading certain dynamic-link libraries including 'security.dll', 'secur32.dll', and 'ws2_32.dll'. The program uses an insecure path to look for specific files or libraries that includes the current working directory, which may not be trusted or under user control. By placing a specially crafted library in the path and tricking a user into opening a FILETYPE file located on a remote WebDAV share, a context-dependent attacker can inject and execute arbitrary code with the privilege of the user running the program.

Solution

Upgrade to cURL/libcurl 7.49.1 or later.

See Also

https://curl.haxx.se/docs/adv_20160530.html

https://curl.haxx.se/changes.html#7_49_1

Plugin Details

Severity: Medium

ID: 9763

File Name: 9763.prm

Family: Web Clients

Published: 2016/11/11

Modified: 2016/11/23

Dependencies: 9772

Nessus ID: 92558

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 6.9

Temporal Score: 6

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

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

CVSSv3

Base Score: 7.3

Temporal Score: 6.9

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

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

Vulnerability Information

CPE: cpe:/a:haxx:curl

Patch Publication Date: 2016/05/30

Vulnerability Publication Date: 2016/05/30

Reference Information

CVE: CVE-2016-4802

BID: 90997

OSVDB: 139172