Vulnerabilities > CVE-2005-3185 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3) libcurl 7.13.2, and other products that use libcurl, when NTLM authentication is enabled, allows remote servers to execute arbitrary code via a long NTLM username.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 | |
Application | 1 | |
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Nessus
NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-200510-19.NASL 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. last seen 2020-06-01 modified 2020-06-02 plugin id 20081 published 2005-10-24 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20081 title GLSA-200510-19 : cURL: NTLM username stack overflow code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Gentoo Linux Security Advisory GLSA 200510-19. # # The advisory text is Copyright (C) 2001-2015 Gentoo Foundation, Inc. # and licensed under the Creative Commons - Attribution / Share Alike # license. See http://creativecommons.org/licenses/by-sa/3.0/ # include("compat.inc"); if (description) { script_id(20081); script_version("1.19"); script_cvs_date("Date: 2019/08/02 13:32:42"); script_cve_id("CVE-2005-3185"); script_xref(name:"GLSA", value:"200510-19"); script_name(english:"GLSA-200510-19 : cURL: NTLM username stack overflow"); script_summary(english:"Checks for updated package(s) in /var/db/pkg"); script_set_attribute( attribute:"synopsis", value: "The remote Gentoo host is missing one or more security-related patches." ); script_set_attribute( attribute:"description", value: "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." ); # http://www.idefense.com/application/poi/display?id=322&type=vulnerabilities script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?af10f811" ); script_set_attribute( attribute:"see_also", value:"https://security.gentoo.org/glsa/200510-19" ); script_set_attribute( attribute:"solution", value: "All cURL users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/curl-7.15.0'" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:curl"); script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux"); script_set_attribute(attribute:"patch_publication_date", value:"2005/10/22"); script_set_attribute(attribute:"plugin_publication_date", value:"2005/10/24"); script_set_attribute(attribute:"vuln_publication_date", value:"2005/10/13"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2005-2019 Tenable Network Security, Inc."); script_family(english:"Gentoo Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("qpkg.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo"); if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (qpkg_check(package:"net-misc/curl", unaffected:make_list("ge 7.15.0"), vulnerable:make_list("lt 7.15.0"))) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:qpkg_report_get()); else security_hole(0); exit(0); } else { tested = qpkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "cURL"); }
NASL family Mandriva Local Security Checks NASL id MANDRAKE_MDKSA-2005-183.NASL description A vulnerability in libcurl last seen 2020-06-01 modified 2020-06-02 plugin id 20430 published 2006-01-15 reporter This script is Copyright (C) 2006-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20430 title Mandrake Linux Security Advisory : wget (MDKSA-2005:183) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Mandrake Linux Security Advisory MDKSA-2005:183. # The text itself is copyright (C) Mandriva S.A. # include("compat.inc"); if (description) { script_id(20430); script_version ("1.14"); script_cvs_date("Date: 2019/08/02 13:32:48"); script_cve_id("CVE-2005-3185"); script_xref(name:"MDKSA", value:"2005:183"); script_name(english:"Mandrake Linux Security Advisory : wget (MDKSA-2005:183)"); script_summary(english:"Checks rpm output for the updated package"); script_set_attribute( attribute:"synopsis", value:"The remote Mandrake Linux host is missing a security update." ); script_set_attribute( attribute:"description", value: "A vulnerability in libcurl's NTLM function can overflow a stack-based buffer if given too long a user name or domain name in NTLM authentication is enabled and either a) pass a user and domain name to libcurl that together are longer than 192 bytes or b) allow (lib)curl to follow HTTP redirects and the new URL contains a URL with a user and domain name that together are longer than 192 bytes. Wget, as of version 1.10, uses the NTLM code from libcurl and is also vulnerable to this issue. The updated packages have been patched to address this issue." ); script_set_attribute( attribute:"see_also", value:"https://curl.haxx.se/mail/lib-2005-10/0061.html" ); script_set_attribute(attribute:"solution", value:"Update the affected wget package."); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:mandriva:linux:wget"); script_set_attribute(attribute:"cpe", value:"cpe:/o:mandriva:linux:2006"); script_set_attribute(attribute:"patch_publication_date", value:"2005/10/13"); script_set_attribute(attribute:"plugin_publication_date", value:"2006/01/15"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2006-2019 Tenable Network Security, Inc."); script_family(english:"Mandriva Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/Mandrake/release", "Host/Mandrake/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Mandrake/release")) audit(AUDIT_OS_NOT, "Mandriva / Mandake Linux"); if (!get_kb_item("Host/Mandrake/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^(amd64|i[3-6]86|x86_64)$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Mandriva / Mandrake Linux", cpu); flag = 0; if (rpm_check(release:"MDK2006.0", reference:"wget-1.10-1.1.20060mdk", yank:"mdk")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family Debian Local Security Checks NASL id DEBIAN_DSA-919.NASL description The upstream developer of curl, a multi-protocol file transfer library, informed us that the former correction to several off-by-one errors are not sufficient. For completeness please find the original bug description below : Several problems were discovered in libcurl, a multi-protocol file transfer library. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2005-3185 A buffer overflow has been discovered in libcurl that could allow the execution of arbitrary code. - CVE-2005-4077 Stefan Esser discovered several off-by-one errors that allows local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs. last seen 2020-06-01 modified 2020-06-02 plugin id 22785 published 2006-10-14 reporter This script is Copyright (C) 2006-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/22785 title Debian DSA-919-2 : curl - buffer overflow code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Debian Security Advisory DSA-919. The text # itself is copyright (C) Software in the Public Interest, Inc. # include("compat.inc"); if (description) { script_id(22785); script_version("1.22"); script_cvs_date("Date: 2019/08/02 13:32:20"); script_cve_id("CVE-2005-3185", "CVE-2005-4077"); script_bugtraq_id(15102, 15756); script_xref(name:"DSA", value:"919"); script_name(english:"Debian DSA-919-2 : curl - buffer overflow"); script_summary(english:"Checks dpkg output for the updated package"); script_set_attribute( attribute:"synopsis", value:"The remote Debian host is missing a security-related update." ); script_set_attribute( attribute:"description", value: "The upstream developer of curl, a multi-protocol file transfer library, informed us that the former correction to several off-by-one errors are not sufficient. For completeness please find the original bug description below : Several problems were discovered in libcurl, a multi-protocol file transfer library. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2005-3185 A buffer overflow has been discovered in libcurl that could allow the execution of arbitrary code. - CVE-2005-4077 Stefan Esser discovered several off-by-one errors that allows local users to trigger a buffer overflow and cause a denial of service or bypass PHP security restrictions via certain URLs." ); script_set_attribute( attribute:"see_also", value:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342339" ); script_set_attribute( attribute:"see_also", value:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342696" ); script_set_attribute( attribute:"see_also", value:"http://www.debian.org/security/2005/dsa-919" ); script_set_attribute( attribute:"solution", value: "Upgrade the libcurl packages. For the old stable distribution (woody) these problems have been fixed in version 7.9.5-1woody2. For the stable distribution (sarge) these problems have been fixed in version 7.13.2-2sarge5. This update also includes a bugfix against data corruption." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"exploit_available", value:"false"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:curl"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:3.0"); script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:3.1"); script_set_attribute(attribute:"plugin_publication_date", value:"2006/10/14"); script_set_attribute(attribute:"patch_publication_date", value:"2006/12/21"); script_set_attribute(attribute:"vuln_publication_date", value:"2005/10/13"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2006-2019 Tenable Network Security, Inc."); script_family(english:"Debian Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l"); exit(0); } include("audit.inc"); include("debian_package.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian"); if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING); flag = 0; if (deb_check(release:"3.0", prefix:"curl", reference:"7.9.5-1woody2")) flag++; if (deb_check(release:"3.0", prefix:"libcurl-dev", reference:"7.9.5-1woody2")) flag++; if (deb_check(release:"3.0", prefix:"libcurl2", reference:"7.9.5-1woody2")) flag++; if (deb_check(release:"3.1", prefix:"curl", reference:"7.13.2-2sarge5")) flag++; if (deb_check(release:"3.1", prefix:"libcurl3", reference:"7.13.2-2sarge5")) flag++; if (deb_check(release:"3.1", prefix:"libcurl3-dbg", reference:"7.13.2-2sarge5")) flag++; if (deb_check(release:"3.1", prefix:"libcurl3-dev", reference:"7.13.2-2sarge5")) flag++; if (deb_check(release:"3.1", prefix:"libcurl3-gssapi", reference:"7.13.2-2sarge5")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get()); else security_hole(0); exit(0); } else audit(AUDIT_HOST_NOT, "affected");
NASL family SuSE Local Security Checks NASL id SUSE_SA_2005_063.NASL description The remote host is missing the patch for the advisory SUSE-SA:2005:063 (curl, wget). This update fixes a stack-based buffer overflow in the NTLM authentication code used by the file download tools/libraries curl and wget that can be triggered by using a long user or domain name (also works with HTTP redirects). By exploiting this bug by using a malicious server an attacker may be able to execute arbitrary code with the privileges of the entity running the process locally. (CVE-2005-3185) This affects both curl/libcurl and wget >= 1.10. wget copied the code from libcurl, making this effectively the same problem. last seen 2019-10-28 modified 2005-10-25 plugin id 20087 published 2005-10-25 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20087 title SUSE-SA:2005:063: curl, wget code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # This plugin text was extracted from SuSE Security Advisory SUSE-SA:2005:063 # if ( ! defined_func("bn_random") ) exit(0); include("compat.inc"); if(description) { script_id(20087); script_version ("1.8"); name["english"] = "SUSE-SA:2005:063: curl, wget"; script_name(english:name["english"]); script_set_attribute(attribute:"synopsis", value: "The remote host is missing a vendor-supplied security patch" ); script_set_attribute(attribute:"description", value: "The remote host is missing the patch for the advisory SUSE-SA:2005:063 (curl, wget). This update fixes a stack-based buffer overflow in the NTLM authentication code used by the file download tools/libraries curl and wget that can be triggered by using a long user or domain name (also works with HTTP redirects). By exploiting this bug by using a malicious server an attacker may be able to execute arbitrary code with the privileges of the entity running the process locally. (CVE-2005-3185) This affects both curl/libcurl and wget >= 1.10. wget copied the code from libcurl, making this effectively the same problem." ); script_set_attribute(attribute:"solution", value: "http://www.suse.de/security/advisories/2005_63_wget_curl.html" ); script_set_attribute(attribute:"risk_factor", value:"High" ); script_set_attribute(attribute:"plugin_publication_date", value: "2005/10/25"); script_end_attributes(); summary["english"] = "Check for the version of the curl, wget package"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2005-2019 Tenable Network Security, Inc."); family["english"] = "SuSE Local Security Checks"; script_family(english:family["english"]); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/SuSE/rpm-list"); exit(0); } include("rpm.inc"); if ( rpm_check( reference:"compat-curl2-7.11.0-7.2", release:"SUSE10.0") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"curl-7.14.0-2.2", release:"SUSE10.0") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"wget-1.10.1-2.2", release:"SUSE10.0") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"curl-7.11.0-39.9", release:"SUSE9.1") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"compat-curl2-7.11.0-4.4", release:"SUSE9.2") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"curl-7.12.0-2.4", release:"SUSE9.2") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"compat-curl2-7.11.0-6.2", release:"SUSE9.3") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"curl-7.13.0-5.2", release:"SUSE9.3") ) { security_hole(0); exit(0); } if ( rpm_check( reference:"wget-1.10-1.3", release:"SUSE9.3") ) { security_hole(0); exit(0); }
NASL family Fedora Local Security Checks NASL id FEDORA_2005-1000.NASL description This package fixes a buffer overflow bug in NTLM authentication code of curl (CVE-2005-3185). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 20056 published 2005-10-19 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20056 title Fedora Core 3 : curl-7.12.3-4.fc3 (2005-1000) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2005-1000. # include("compat.inc"); if (description) { script_id(20056); script_version ("1.14"); script_cvs_date("Date: 2019/08/02 13:32:23"); script_cve_id("CVE-2005-3185"); script_xref(name:"FEDORA", value:"2005-1000"); script_name(english:"Fedora Core 3 : curl-7.12.3-4.fc3 (2005-1000)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora Core host is missing a security update." ); script_set_attribute( attribute:"description", value: "This package fixes a buffer overflow bug in NTLM authentication code of curl (CVE-2005-3185). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); # https://lists.fedoraproject.org/pipermail/announce/2005-October/001500.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?223fcef5" ); script_set_attribute( attribute:"solution", value:"Update the affected curl, curl-debuginfo and / or curl-devel packages." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:curl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:curl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:curl-devel"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora_core:3"); script_set_attribute(attribute:"patch_publication_date", value:"2005/10/18"); script_set_attribute(attribute:"plugin_publication_date", value:"2005/10/19"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2005-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^3([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 3.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC3", reference:"curl-7.12.3-4.fc3")) flag++; if (rpm_check(release:"FC3", reference:"curl-debuginfo-7.12.3-4.fc3")) flag++; if (rpm_check(release:"FC3", reference:"curl-devel-7.12.3-4.fc3")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "curl / curl-debuginfo / curl-devel"); }
NASL family Fedora Local Security Checks NASL id FEDORA_2005-996.NASL description This package fixes a buffer overflow bug in the NTLM authentication code of wget (CVE-2005-3185). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 20029 published 2005-10-19 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20029 title Fedora Core 3 : wget-1.10.2-0.fc3 (2005-996) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2005-996. # include("compat.inc"); if (description) { script_id(20029); script_version ("1.14"); script_cvs_date("Date: 2019/08/02 13:32:24"); script_xref(name:"FEDORA", value:"2005-996"); script_name(english:"Fedora Core 3 : wget-1.10.2-0.fc3 (2005-996)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora Core host is missing a security update." ); script_set_attribute( attribute:"description", value: "This package fixes a buffer overflow bug in the NTLM authentication code of wget (CVE-2005-3185). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); # https://lists.fedoraproject.org/pipermail/announce/2005-October/001496.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?ae30c0a5" ); script_set_attribute( attribute:"solution", value:"Update the affected wget and / or wget-debuginfo packages." ); script_set_attribute(attribute:"risk_factor", value:"High"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:wget"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:wget-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora_core:3"); script_set_attribute(attribute:"patch_publication_date", value:"2005/10/17"); script_set_attribute(attribute:"plugin_publication_date", value:"2005/10/19"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2005-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^3([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 3.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC3", reference:"wget-1.10.2-0.fc3")) flag++; if (rpm_check(release:"FC3", reference:"wget-debuginfo-1.10.2-0.fc3")) flag++; if (flag) { if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get()); else security_hole(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "wget / wget-debuginfo"); }
NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2005-807.NASL description Updated curl packages that fix a security issue are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. A stack based buffer overflow bug was found in cURL last seen 2020-06-01 modified 2020-06-02 plugin id 21864 published 2006-07-03 reporter This script is Copyright (C) 2006-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/21864 title CentOS 3 / 4 : curl (CESA-2005:807) NASL family Mandriva Local Security Checks NASL id MANDRAKE_MDKSA-2005-182.NASL description A vulnerability in libcurl last seen 2020-06-01 modified 2020-06-02 plugin id 20042 published 2005-10-19 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20042 title Mandrake Linux Security Advisory : curl (MDKSA-2005:182) NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-205-1.NASL description A buffer overflow has been found in the NTLM authentication handler of the Curl library and wget. By tricking an user or automatic system that uses the Curl library, the curl application, or wget into visiting a specially crafted website, a remote attacker could exploit this to execute arbitrary code with the privileges of the calling user. The Ubuntu 4.10 and 5.04 versions of wget are not affected by this. Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 20621 published 2006-01-15 reporter Ubuntu Security Notice (C) 2005-2019 Canonical, Inc. / NASL script (C) 2006-2016 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20621 title Ubuntu 4.10 / 5.04 / 5.10 : curl, wget vulnerabilities (USN-205-1) NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2005-812.NASL description Updated wget packages that fix a security issue are now available. This update has been rated as having important security impact by the Red Hat Security Response Team. GNU Wget is a file retrieval utility that can use either the HTTP or FTP protocols. A stack based buffer overflow bug was found in the wget implementation of NTLM authentication. An attacker could execute arbitrary code on a user last seen 2020-06-01 modified 2020-06-02 plugin id 21868 published 2006-07-03 reporter This script is Copyright (C) 2006-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/21868 title CentOS 3 / 4 : wget (CESA-2005:812) NASL family MacOS X Local Security Checks NASL id MACOSX_SECUPD2005-009.NASL description The remote host is running Apple Mac OS X, but lacks Security Update 2005-009. This security update contains fixes for the following applications : - Apache2 - Apache_mod_ssl - CoreFoundation - curl - iodbcadmintool - OpenSSL - passwordserver - Safari - sudo - syslog last seen 2020-06-01 modified 2020-06-02 plugin id 20249 published 2005-11-30 reporter This script is Copyright (C) 2005-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20249 title Mac OS X Multiple Vulnerabilities (Security Update 2005-009) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2005-812.NASL description Updated wget packages that fix a security issue are now available. This update has been rated as having important security impact by the Red Hat Security Response Team. GNU Wget is a file retrieval utility that can use either the HTTP or FTP protocols. A stack based buffer overflow bug was found in the wget implementation of NTLM authentication. An attacker could execute arbitrary code on a user last seen 2020-06-01 modified 2020-06-02 plugin id 20144 published 2005-11-04 reporter This script is Copyright (C) 2005-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/20144 title RHEL 2.1 / 3 / 4 : wget (RHSA-2005:812) NASL family Slackware Local Security Checks NASL id SLACKWARE_SSA_2005-310-01.NASL description New curl packages are available for Slackware 9.1, 10.0, 10.1, 10.2, and -current, and new wget packages are available for Slackware 8.1, 9.0, 9.1, 10.0, 10.1, 10.2, and -current. These address a buffer overflow in NTLM handling which may present a security problem, though no public exploits are known at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 20149 published 2005-11-07 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20149 title Slackware 10.0 / 10.1 / 10.2 / 8.1 / 9.0 / 9.1 / current : curl/wget (SSA:2005-310-01) NASL family Fedora Local Security Checks NASL id FEDORA_2005-1129.NASL description This package fixes a security buffer overflow bug in URL authentication code of curl (CVE-2005-4077). Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 20289 published 2005-12-11 reporter This script is Copyright (C) 2005-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/20289 title Fedora Core 4 : curl-7.13.1-4.fc4 (2005-1129) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2005-807.NASL description Updated curl packages that fix a security issue are now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. cURL is a tool for getting files from FTP, HTTP, Gopher, Telnet, and Dict servers, using any of the supported protocols. A stack based buffer overflow bug was found in cURL last seen 2020-06-01 modified 2020-06-02 plugin id 20143 published 2005-11-04 reporter This script is Copyright (C) 2005-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/20143 title RHEL 3 / 4 : curl (RHSA-2005:807)
Oval
accepted | 2013-04-29T04:22:26.009-04:00 | ||||||||||||||||||||
class | vulnerability | ||||||||||||||||||||
contributors |
| ||||||||||||||||||||
definition_extensions |
| ||||||||||||||||||||
description | Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3) libcurl 7.13.2, and other products that use libcurl, when NTLM authentication is enabled, allows remote servers to execute arbitrary code via a long NTLM username. | ||||||||||||||||||||
family | unix | ||||||||||||||||||||
id | oval:org.mitre.oval:def:9810 | ||||||||||||||||||||
status | accepted | ||||||||||||||||||||
submitted | 2010-07-09T03:56:16-04:00 | ||||||||||||||||||||
title | Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3) libcurl 7.13.2, and other products that use libcurl, when NTLM authentication is enabled, allows remote servers to execute arbitrary code via a long NTLM username. | ||||||||||||||||||||
version | 26 |
Redhat
advisories |
| ||||||||
rpms |
|
References
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.10/SCOSA-2006.10.txt
- ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2006.10/SCOSA-2006.10.txt
- http://docs.info.apple.com/article.html?artnum=302847
- http://docs.info.apple.com/article.html?artnum=302847
- http://lists.trustix.org/pipermail/tsl-announce/2005-October/000354.html
- http://lists.trustix.org/pipermail/tsl-announce/2005-October/000354.html
- http://secunia.com/advisories/17192
- http://secunia.com/advisories/17192
- http://secunia.com/advisories/17193
- http://secunia.com/advisories/17193
- http://secunia.com/advisories/17203
- http://secunia.com/advisories/17203
- http://secunia.com/advisories/17208
- http://secunia.com/advisories/17208
- http://secunia.com/advisories/17228
- http://secunia.com/advisories/17228
- http://secunia.com/advisories/17247
- http://secunia.com/advisories/17247
- http://secunia.com/advisories/17297
- http://secunia.com/advisories/17297
- http://secunia.com/advisories/17320
- http://secunia.com/advisories/17320
- http://secunia.com/advisories/17400
- http://secunia.com/advisories/17400
- http://secunia.com/advisories/17403
- http://secunia.com/advisories/17403
- http://secunia.com/advisories/17485
- http://secunia.com/advisories/17485
- http://secunia.com/advisories/17813
- http://secunia.com/advisories/17813
- http://secunia.com/advisories/17965
- http://secunia.com/advisories/17965
- http://secunia.com/advisories/19193
- http://secunia.com/advisories/19193
- http://securityreason.com/securityalert/82
- http://securityreason.com/securityalert/82
- http://securitytracker.com/id?1015056
- http://securitytracker.com/id?1015056
- http://securitytracker.com/id?1015057
- http://securitytracker.com/id?1015057
- http://slackware.com/security/viewer.php?l=slackware-security&y=2005&m=slackware-security.519010
- http://slackware.com/security/viewer.php?l=slackware-security&y=2005&m=slackware-security.519010
- http://www.debian.org/security/2005/dsa-919
- http://www.debian.org/security/2005/dsa-919
- http://www.gentoo.org/security/en/glsa/glsa-200510-19.xml
- http://www.gentoo.org/security/en/glsa/glsa-200510-19.xml
- http://www.idefense.com/application/poi/display?id=322&type=vulnerabilities
- http://www.idefense.com/application/poi/display?id=322&type=vulnerabilities
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:182
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:182
- http://www.novell.com/linux/security/advisories/2005_63_wget_curl.html
- http://www.novell.com/linux/security/advisories/2005_63_wget_curl.html
- http://www.osvdb.org/20011
- http://www.osvdb.org/20011
- http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html
- http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html
- http://www.redhat.com/archives/fedora-announce-list/2005-October/msg00055.html
- http://www.redhat.com/archives/fedora-announce-list/2005-October/msg00055.html
- http://www.redhat.com/support/errata/RHSA-2005-807.html
- http://www.redhat.com/support/errata/RHSA-2005-807.html
- http://www.redhat.com/support/errata/RHSA-2005-812.html
- http://www.redhat.com/support/errata/RHSA-2005-812.html
- http://www.securityfocus.com/bid/15102
- http://www.securityfocus.com/bid/15102
- http://www.securityfocus.com/bid/15647
- http://www.securityfocus.com/bid/15647
- http://www.vupen.com/english/advisories/2005/2088
- http://www.vupen.com/english/advisories/2005/2088
- http://www.vupen.com/english/advisories/2005/2125
- http://www.vupen.com/english/advisories/2005/2125
- http://www.vupen.com/english/advisories/2005/2659
- http://www.vupen.com/english/advisories/2005/2659
- https://exchange.xforce.ibmcloud.com/vulnerabilities/22721
- https://exchange.xforce.ibmcloud.com/vulnerabilities/22721
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9810
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9810
- https://usn.ubuntu.com/205-1/
- https://usn.ubuntu.com/205-1/