GLSA-200510-19 : cURL: NTLM username stack overflow

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200510-19
(cURL: NTLM username stack overflow)

iDEFENSE reported that insufficient bounds checking on a memcpy()
of the supplied NTLM username can result in a stack overflow.

Impact :

A remote attacker could setup a malicious server and entice an
user to connect to it using a cURL client, potentially leading to the
execution of arbitrary code with the permissions of the user running
cURL.

Workaround :

Disable NTLM authentication by not using the --anyauth or --ntlm
options when using cURL (the command line version). Workarounds for
programs that use the cURL library depend on the configuration options
presented by those programs.

See also :

http://www.nessus.org/u?af10f811
http://www.gentoo.org/security/en/glsa/glsa-200510-19.xml

Solution :

All cURL users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-misc/curl-7.15.0'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 20081 (gentoo_GLSA-200510-19.nasl)

Bugtraq ID:

CVE ID: CVE-2005-3185