Vulnerabilities > CVE-2008-2375 - Unspecified vulnerability in Redhat Vsftpd

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
redhat
nessus

Summary

Memory leak in a certain Red Hat deployment of vsftpd before 2.0.5 on Red Hat Enterprise Linux (RHEL) 3 and 4, when PAM is used, allows remote attackers to cause a denial of service (memory consumption) via a large number of invalid authentication attempts within the same session, a different vulnerability than CVE-2007-5962.

Nessus

  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20080724_VSFTPD_ON_SL4_X.NASL
    descriptionThe version of vsftpd as shipped in Red Hat Enterprise Linux 4 when used in combination with Pluggable Authentication Modules (PAM) had a memory leak on an invalid authentication attempt. Since vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375) This update mitigates this security issue by including a backported patch which terminates a session after a given number of failed log in attempts. The default number of attempts is 3 and this can be configured using the
    last seen2020-06-01
    modified2020-06-02
    plugin id60456
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60456
    titleScientific Linux Security Update : vsftpd on SL4.x i386/x86_64
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text is (C) Scientific Linux.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(60456);
      script_version("1.4");
      script_cvs_date("Date: 2019/10/25 13:36:17");
    
      script_cve_id("CVE-2008-2375");
    
      script_name(english:"Scientific Linux Security Update : vsftpd on SL4.x i386/x86_64");
      script_summary(english:"Checks rpm output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Scientific Linux host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The version of vsftpd as shipped in Red Hat Enterprise Linux 4 when
    used in combination with Pluggable Authentication Modules (PAM) had a
    memory leak on an invalid authentication attempt. Since vsftpd prior
    to version 2.0.5 allows any number of invalid attempts on the same
    connection this memory leak could lead to an eventual DoS.
    (CVE-2008-2375)
    
    This update mitigates this security issue by including a backported
    patch which terminates a session after a given number of failed log in
    attempts. The default number of attempts is 3 and this can be
    configured using the 'max_login_fails' directive.
    
    This package also addresses the following bugs :
    
      - when uploading unique files, a bug in vsftpd caused the
        file to be saved with a suffix '.1' even when no
        previous file with that name existed. This issues is
        resolved in this package.
    
      - when vsftpd was run through the init script, it was
        possible for the init script to print an 'OK' message,
        even though the vsftpd may not have started. The init
        script no longer produces a false verification with this
        update.
    
      - vsftpd only supported usernames with a maximum length of
        32 characters. The updated package now supports
        usernames up to 128 characters long.
    
      - a system flaw meant vsftpd output could become dependent
        on the timing or sequence of other events, even when the
        'lock_upload_files' option was set. If a file,
        filename.ext, was being uploaded and a second transfer
        of the file, filename.ext, was started before the first
        transfer was finished, the resultant uploaded file was a
        corrupt concatenation of the latter upload and the tail
        of the earlier upload. With this updated package, vsftpd
        allows the earlier upload to complete before overwriting
        with the latter upload, fixing the issue.
    
      - the 'lock_upload_files' option was not documented in the
        manual page. A new manual page describing this option is
        included in this package.
    
      - vsftpd did not support usernames that started with an
        underscore or a period character. These special
        characters are now allowed at the beginning of a
        username.
    
      - when storing a unique file, vsftpd could cause an error
        for some clients. This is rectified in this package.
    
      - vsftpd init script was found to not be Linux Standards
        Base compliant. This update corrects their exit codes to
        conform to the standard."
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind0807&L=scientific-linux-errata&T=0&P=2744
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?bf88d642"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected vsftpd package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C");
      script_cwe_id(399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2008/07/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/01");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Scientific Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "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) || "Scientific Linux " >!< release) audit(AUDIT_HOST_NOT, "running Scientific Linux");
    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 (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Scientific Linux", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SL4", reference:"vsftpd-2.0.1-6.el4")) 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 familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2008-0680.NASL
    descriptionAn updated vsftpd package that fixes a security issue and various bugs is now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure FTP server for Linux and Unix-like systems. The version of vsftpd as shipped in Red Hat Enterprise Linux 4 when used in combination with Pluggable Authentication Modules (PAM) had a memory leak on an invalid authentication attempt. Since vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375) This update mitigates this security issue by including a backported patch which terminates a session after a given number of failed log in attempts. The default number of attempts is 3 and this can be configured using the
    last seen2020-06-01
    modified2020-06-02
    plugin id33582
    published2008-07-25
    reporterThis script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/33582
    titleRHEL 4 : vsftpd (RHSA-2008:0680)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2008:0680. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(33582);
      script_version ("1.22");
      script_cvs_date("Date: 2019/10/25 13:36:13");
    
      script_cve_id("CVE-2008-2375");
      script_xref(name:"RHSA", value:"2008:0680");
    
      script_name(english:"RHEL 4 : vsftpd (RHSA-2008:0680)");
      script_summary(english:"Checks the rpm output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An updated vsftpd package that fixes a security issue and various bugs
    is now available.
    
    This update has been rated as having moderate security impact by the
    Red Hat Security Response Team.
    
    vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure
    FTP server for Linux and Unix-like systems.
    
    The version of vsftpd as shipped in Red Hat Enterprise Linux 4 when
    used in combination with Pluggable Authentication Modules (PAM) had a
    memory leak on an invalid authentication attempt. Since vsftpd prior
    to version 2.0.5 allows any number of invalid attempts on the same
    connection this memory leak could lead to an eventual DoS.
    (CVE-2008-2375)
    
    This update mitigates this security issue by including a backported
    patch which terminates a session after a given number of failed log in
    attempts. The default number of attempts is 3 and this can be
    configured using the 'max_login_fails' directive.
    
    This package also addresses the following bugs :
    
    * when uploading unique files, a bug in vsftpd caused the file to be
    saved with a suffix '.1' even when no previous file with that name
    existed. This issues is resolved in this package.
    
    * when vsftpd was run through the init script, it was possible for the
    init script to print an 'OK' message, even though the vsftpd may not
    have started. The init script no longer produces a false verification
    with this update.
    
    * vsftpd only supported usernames with a maximum length of 32
    characters. The updated package now supports usernames up to 128
    characters long.
    
    * a system flaw meant vsftpd output could become dependent on the
    timing or sequence of other events, even when the 'lock_upload_files'
    option was set. If a file, filename.ext, was being uploaded and a
    second transfer of the file, filename.ext, was started before the
    first transfer was finished, the resultant uploaded file was a corrupt
    concatenation of the latter upload and the tail of the earlier upload.
    With this updated package, vsftpd allows the earlier upload to
    complete before overwriting with the latter upload, fixing the issue.
    
    * the 'lock_upload_files' option was not documented in the manual
    page. A new manual page describing this option is included in this
    package.
    
    * vsftpd did not support usernames that started with an underscore or
    a period character. These special characters are now allowed at the
    beginning of a username.
    
    * when storing a unique file, vsftpd could cause an error for some
    clients. This is rectified in this package.
    
    * vsftpd init script was found to not be Linux Standards Base
    compliant. This update corrects their exit codes to conform to the
    standard.
    
    All vsftpd users are advised to upgrade to this updated package, which
    resolves these issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2008-2375"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2008:0680"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected vsftpd package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C");
      script_cwe_id(399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:vsftpd");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/07/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/07/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/07/25");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.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) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^4([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 4.x", "Red Hat " + 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$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2008:0680";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL4", reference:"vsftpd-2.0.1-6.el4")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "vsftpd");
      }
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2008-0579.NASL
    descriptionAn updated vsftpd package that fixes a security issue is now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure FTP server for Linux and Unix-like systems. The version of vsftpd as shipped in Red Hat Enterprise Linux 3 when used in combination with Pluggable Authentication Modules (PAM) had a memory leak on an invalid authentication attempt. Since vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375) This update mitigates this security issue by including a backported patch which terminates a session after a given number of failed log in attempts. The default number of attempts is 3 and this can be configured using the
    last seen2020-06-01
    modified2020-06-02
    plugin id33580
    published2008-07-25
    reporterThis script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/33580
    titleRHEL 3 : vsftpd (RHSA-2008:0579)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2008:0579. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(33580);
      script_version ("1.22");
      script_cvs_date("Date: 2019/10/25 13:36:13");
    
      script_cve_id("CVE-2008-2375");
      script_xref(name:"RHSA", value:"2008:0579");
    
      script_name(english:"RHEL 3 : vsftpd (RHSA-2008:0579)");
      script_summary(english:"Checks the rpm output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An updated vsftpd package that fixes a security issue is now
    available.
    
    This update has been rated as having moderate security impact by the
    Red Hat Security Response Team.
    
    vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure
    FTP server for Linux and Unix-like systems.
    
    The version of vsftpd as shipped in Red Hat Enterprise Linux 3 when
    used in combination with Pluggable Authentication Modules (PAM) had a
    memory leak on an invalid authentication attempt. Since vsftpd prior
    to version 2.0.5 allows any number of invalid attempts on the same
    connection this memory leak could lead to an eventual DoS.
    (CVE-2008-2375)
    
    This update mitigates this security issue by including a backported
    patch which terminates a session after a given number of failed log in
    attempts. The default number of attempts is 3 and this can be
    configured using the 'max_login_fails' directive.
    
    All vsftpd users should upgrade to this updated package, which
    addresses this vulnerability."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2008-2375"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2008:0579"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected vsftpd package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C");
      script_cwe_id(399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:vsftpd");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/07/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/07/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/07/25");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.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) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^3([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 3.x", "Red Hat " + 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$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2008:0579";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL3", reference:"vsftpd-1.2.1-3E.16")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_HOLE,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "vsftpd");
      }
    }
    
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2008-0579.NASL
    descriptionFrom Red Hat Security Advisory 2008:0579 : An updated vsftpd package that fixes a security issue is now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure FTP server for Linux and Unix-like systems. The version of vsftpd as shipped in Red Hat Enterprise Linux 3 when used in combination with Pluggable Authentication Modules (PAM) had a memory leak on an invalid authentication attempt. Since vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375) This update mitigates this security issue by including a backported patch which terminates a session after a given number of failed log in attempts. The default number of attempts is 3 and this can be configured using the
    last seen2020-06-01
    modified2020-06-02
    plugin id67721
    published2013-07-12
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/67721
    titleOracle Linux 3 : vsftpd (ELSA-2008-0579)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Red Hat Security Advisory RHSA-2008:0579 and 
    # Oracle Linux Security Advisory ELSA-2008-0579 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(67721);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:07");
    
      script_cve_id("CVE-2008-2375");
      script_xref(name:"RHSA", value:"2008:0579");
    
      script_name(english:"Oracle Linux 3 : vsftpd (ELSA-2008-0579)");
      script_summary(english:"Checks rpm output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Oracle Linux host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "From Red Hat Security Advisory 2008:0579 :
    
    An updated vsftpd package that fixes a security issue is now
    available.
    
    This update has been rated as having moderate security impact by the
    Red Hat Security Response Team.
    
    vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure
    FTP server for Linux and Unix-like systems.
    
    The version of vsftpd as shipped in Red Hat Enterprise Linux 3 when
    used in combination with Pluggable Authentication Modules (PAM) had a
    memory leak on an invalid authentication attempt. Since vsftpd prior
    to version 2.0.5 allows any number of invalid attempts on the same
    connection this memory leak could lead to an eventual DoS.
    (CVE-2008-2375)
    
    This update mitigates this security issue by including a backported
    patch which terminates a session after a given number of failed log in
    attempts. The default number of attempts is 3 and this can be
    configured using the 'max_login_fails' directive.
    
    All vsftpd users should upgrade to this updated package, which
    addresses this vulnerability."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2008-July/000694.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected vsftpd package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C");
      script_cwe_id(399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:vsftpd");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/07/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/07/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/12");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Oracle Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/OracleLinux", "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);
    if (!get_kb_item("Host/OracleLinux")) audit(AUDIT_OS_NOT, "Oracle Linux");
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || !pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux)", string:release)) audit(AUDIT_OS_NOT, "Oracle Linux");
    os_ver = pregmatch(pattern: "Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Oracle Linux");
    os_ver = os_ver[1];
    if (! preg(pattern:"^3([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 3", "Oracle Linux " + 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 && "ia64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Oracle Linux", cpu);
    
    flag = 0;
    if (rpm_check(release:"EL3", cpu:"i386", reference:"vsftpd-1.2.1-3E.16")) flag++;
    if (rpm_check(release:"EL3", cpu:"x86_64", reference:"vsftpd-1.2.1-3E.16")) 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, "vsftpd");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE9_12192.NASL
    descriptionThis update of vsftpd fixes a memory leak that can occur during authentication. (CVE-2008-2375) Additionally non-security bugs for SLES10 were fixed. There were some issues with simultaneous FTP PUT of the same file name that lead to a corrupted file on the server.
    last seen2020-06-01
    modified2020-06-02
    plugin id41220
    published2009-09-24
    reporterThis script is Copyright (C) 2009-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/41220
    titleSuSE9 Security Update : vsftpd (YOU Patch Number 12192)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The text description of this plugin is (C) Novell, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(41220);
      script_version("1.7");
      script_cvs_date("Date: 2019/10/25 13:36:31");
    
      script_cve_id("CVE-2008-2375");
    
      script_name(english:"SuSE9 Security Update : vsftpd (YOU Patch Number 12192)");
      script_summary(english:"Checks rpm output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SuSE 9 host is missing a security-related patch."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update of vsftpd fixes a memory leak that can occur during
    authentication. (CVE-2008-2375) Additionally non-security bugs for
    SLES10 were fixed. There were some issues with simultaneous FTP PUT of
    the same file name that lead to a corrupted file on the server."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://support.novell.com/security/cve/CVE-2008-2375.html"
      );
      script_set_attribute(attribute:"solution", value:"Apply YOU patch number 12192.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C");
      script_cwe_id(399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:suse:suse_linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2008/07/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2009/09/24");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2009-2019 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) exit(0, "Local checks are not enabled.");
    if (!get_kb_item("Host/SuSE/release")) exit(0, "The host is not running SuSE.");
    if (!get_kb_item("Host/SuSE/rpm-list")) exit(1, "Could not obtain the list of installed packages.");
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) exit(1, "Failed to determine the architecture type.");
    if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") exit(1, "Local checks for SuSE 9 on the '"+cpu+"' architecture have not been implemented.");
    
    
    flag = 0;
    if (rpm_check(release:"SUSE9", reference:"vsftpd-2.0.4-0.5")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else exit(0, "The host is not affected.");
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2008-0579.NASL
    descriptionAn updated vsftpd package that fixes a security issue is now available. This update has been rated as having moderate security impact by the Red Hat Security Response Team. vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure FTP server for Linux and Unix-like systems. The version of vsftpd as shipped in Red Hat Enterprise Linux 3 when used in combination with Pluggable Authentication Modules (PAM) had a memory leak on an invalid authentication attempt. Since vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375) This update mitigates this security issue by including a backported patch which terminates a session after a given number of failed log in attempts. The default number of attempts is 3 and this can be configured using the
    last seen2020-06-01
    modified2020-06-02
    plugin id33736
    published2008-07-28
    reporterThis script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/33736
    titleCentOS 3 : vsftpd (CESA-2008:0579)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2008:0579 and 
    # CentOS Errata and Security Advisory 2008:0579 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(33736);
      script_version("1.13");
      script_cvs_date("Date: 2019/10/25 13:36:04");
    
      script_cve_id("CVE-2008-2375");
      script_xref(name:"RHSA", value:"2008:0579");
    
      script_name(english:"CentOS 3 : vsftpd (CESA-2008:0579)");
      script_summary(english:"Checks rpm output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote CentOS host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "An updated vsftpd package that fixes a security issue is now
    available.
    
    This update has been rated as having moderate security impact by the
    Red Hat Security Response Team.
    
    vsftpd (Very Secure File Transfer Protocol (FTP) daemon) is a secure
    FTP server for Linux and Unix-like systems.
    
    The version of vsftpd as shipped in Red Hat Enterprise Linux 3 when
    used in combination with Pluggable Authentication Modules (PAM) had a
    memory leak on an invalid authentication attempt. Since vsftpd prior
    to version 2.0.5 allows any number of invalid attempts on the same
    connection this memory leak could lead to an eventual DoS.
    (CVE-2008-2375)
    
    This update mitigates this security issue by including a backported
    patch which terminates a session after a given number of failed log in
    attempts. The default number of attempts is 3 and this can be
    configured using the 'max_login_fails' directive.
    
    All vsftpd users should upgrade to this updated package, which
    addresses this vulnerability."
      );
      # https://lists.centos.org/pipermail/centos-announce/2008-July/015165.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3bab6738"
      );
      # https://lists.centos.org/pipermail/centos-announce/2008-July/015166.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?05ac50c3"
      );
      # https://lists.centos.org/pipermail/centos-announce/2008-July/015167.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?9aca300e"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected vsftpd package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C");
      script_cwe_id(399);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:centos:centos:vsftpd");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:centos:centos:3");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2008/07/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2008/07/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/07/28");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"CentOS Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/CentOS/release", "Host/CentOS/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/CentOS/release");
    if (isnull(release) || "CentOS" >!< release) audit(AUDIT_OS_NOT, "CentOS");
    os_ver = pregmatch(pattern: "CentOS(?: Linux)? release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "CentOS");
    os_ver = os_ver[1];
    if (! preg(pattern:"^3([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "CentOS 3.x", "CentOS " + os_ver);
    
    if (!get_kb_item("Host/CentOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && "ia64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "CentOS", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"CentOS-3", reference:"vsftpd-1.2.1-3E.16")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "vsftpd");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_VSFTPD-5388.NASL
    descriptionThis update of vsftpd fixes a memory leak that can occur during authentication. (CVE-2008-2375) Additionally non-security bugs for SLES10 were fixed. There were some issues with simultaneous FTP PUT of the same file name that lead to a corrupted file on the server.
    last seen2020-06-01
    modified2020-06-02
    plugin id34079
    published2008-09-03
    reporterThis script is Copyright (C) 2008-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/34079
    titleSuSE 10 Security Update : vsftpd (ZYPP Patch Number 5388)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20080724_VSFTPD_ON_SL3_X.NASL
    descriptionThe version of vsftpd as shipped in Scientific Linux 3 when used in combination with Pluggable Authentication Modules (PAM) had a memory leak on an invalid authentication attempt. Since vsftpd prior to version 2.0.5 allows any number of invalid attempts on the same connection this memory leak could lead to an eventual DoS. (CVE-2008-2375) This update mitigates this security issue by including a backported patch which terminates a session after a given number of failed log in attempts. The default number of attempts is 3 and this can be configured using the
    last seen2020-06-01
    modified2020-06-02
    plugin id60455
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60455
    titleScientific Linux Security Update : vsftpd on SL3.x i386/x86_64

Oval

accepted2013-04-29T04:02:08.511-04:00
classvulnerability
contributors
  • nameAharon Chernin
    organizationSCAP.com, LLC
  • nameDragos Prisaca
    organizationG2, Inc.
definition_extensions
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 3
    ovaloval:org.mitre.oval:def:11782
  • commentCentOS Linux 3.x
    ovaloval:org.mitre.oval:def:16651
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 4
    ovaloval:org.mitre.oval:def:11831
  • commentCentOS Linux 4.x
    ovaloval:org.mitre.oval:def:16636
  • commentOracle Linux 4.x
    ovaloval:org.mitre.oval:def:15990
descriptionMemory leak in a certain Red Hat deployment of vsftpd before 2.0.5 on Red Hat Enterprise Linux (RHEL) 3 and 4, when PAM is used, allows remote attackers to cause a denial of service (memory consumption) via a large number of invalid authentication attempts within the same session, a different vulnerability than CVE-2007-5962.
familyunix
idoval:org.mitre.oval:def:10138
statusaccepted
submitted2010-07-09T03:56:16-04:00
titleMemory leak in a certain Red Hat deployment of vsftpd before 2.0.5 on Red Hat Enterprise Linux (RHEL) 3 and 4, when PAM is used, allows remote attackers to cause a denial of service (memory consumption) via a large number of invalid authentication attempts within the same session, a different vulnerability than CVE-2007-5962.
version26

Redhat

advisories
  • bugzilla
    id453376
    titleCVE-2008-2375 older vsftpd authentication memory leak
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 4 is installed
        ovaloval:com.redhat.rhba:tst:20070304025
      • commentvsftpd is earlier than 0:2.0.1-6.el4
        ovaloval:com.redhat.rhsa:tst:20080680001
      • commentvsftpd is signed with Red Hat master key
        ovaloval:com.redhat.rhsa:tst:20080680002
    rhsa
    idRHSA-2008:0680
    released2008-07-24
    severityModerate
    titleRHSA-2008:0680: vsftpd security and bug fix update (Moderate)
  • rhsa
    idRHSA-2008:0579
rpms
  • vsftpd-0:1.2.1-3E.16
  • vsftpd-debuginfo-0:1.2.1-3E.16
  • vsftpd-0:2.0.1-6.el4
  • vsftpd-debuginfo-0:2.0.1-6.el4

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 30364 CVE ID:CVE-2008-2375 CNCVE ID:CNCVE-20082375 vsftpd FTP Server是一款安全性加强的FTP服务程序。 vsftpd FTP Server PAM模块使用存在内存泄漏问题,远程攻击者可以利用漏洞对服务程序进行拒绝服务攻击。 Red Hat Enterprise Linux 3绑定发行的vsftpd版本组合PAM使用时会由于非法验证尝试而导致内存泄漏。因为vsftpd 2.0.5之前允许在同一连接上多次非法尝试,而造成拒绝服务攻击。 Vsftpd Vsftpd 2.0.5 RedHat Enterprise Linux ES 4 RedHat Enterprise Linux ES 3 RedHat Enterprise Linux AS 4 RedHat Enterprise Linux AS 3 可参考如下补丁解决方案: <a href=http://rhn.redhat.com/errata/RHSA-2008-0680.html target=_blank>http://rhn.redhat.com/errata/RHSA-2008-0680.html</a> <a href=http://rhn.redhat.com/errata/RHSA-2008-0579.html target=_blank>http://rhn.redhat.com/errata/RHSA-2008-0579.html</a>
idSSV:3721
last seen2017-11-19
modified2008-07-28
published2008-07-28
reporterRoot
titlevsftpd FTP服务器PAM验证模块远程拒绝服务漏洞