Multiple vendors wget/cURL NTLM buffer username buffer overflow

wget-curl-ntlm-username-bo (22721) The risk level is classified as HighHigh Risk

Description:

Multiple vendors using wget or cURL are vulnerable to a stack-based buffer overflow caused by improper bounds checking with information sent to the memcpy() function. If NT Lan Manager (NTLM) authentication is enabled and sending a long NTLM username, a remote attacker could overflow a buffer and execute arbitrary code on the system with user privileges.

Note: It is also reported that an attacker could exploit this vulnerability by sending a HTTP 302 REDIRECT command to the connecting client.

Platforms Affected:

  • Canonical, Ubuntu 4.10
  • Canonical, Ubuntu 5.04
  • Canonical, Ubuntu 5.10
  • cURL, cURL 7.10.6 to 7.14.1
  • cURL, cURL 7.13.2
  • cURL, libcurl 7.10.6 to 7.14.1
  • cURL, libcurl 7.13.2
  • Debian, Debian Linux 3.0
  • Debian, Debian Linux 3.1
  • Gentoo, Linux
  • GNU, wget 1.10
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 2006
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft, Mandrake Multi Network Firewall 2.0
  • Novell, Linux Desktop 9
  • Novell, Open Enterprise Server
  • Novell, Open Enterprise Server
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • SuSE, Linux Enterprise Server 9
  • SuSE, SuSE Linux 10.0
  • SuSE, SuSE Linux 9.1
  • SuSE, SuSE Linux 9.2
  • SuSE, SuSE Linux 9.3

Remedy:

For wget:
Upgrade to the latest version of wget (1.10.2 or later), available from the wget Download Web page. See References.

For cURL:
Apply the patch for this vulnerability, as listed in Project cURL Security Advisory dated October 13 2005.

As a workaround, ensure the NTLM support is disabled in wget and cURL.

For Debian GNU/Linux:
Refer to DSA-919-2 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (curl):
Refer to RHSA-2005:807-6 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (wget):
Refer to RHSA-2005:812-5 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-10-19 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-205-1 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Apply the updates for this vulnerability, as listed in SUSE Security Announcement SUSE-SA:2005:063. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

Reported:

Oct 13, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page