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

high Nessus Plugin ID 20081

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.

Solution

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

See Also

http://www.nessus.org/u?af10f811

https://security.gentoo.org/glsa/200510-19

Plugin Details

Severity: High

ID: 20081

File Name: gentoo_GLSA-200510-19.nasl

Version: 1.20

Type: local

Published: 10/24/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:curl, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 10/22/2005

Vulnerability Publication Date: 10/13/2005

Reference Information

CVE: CVE-2005-3185

GLSA: 200510-19