Vulnerabilities > CVE-2006-7176 - Unspecified vulnerability in Sendmail 8.13.1.2

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

Summary

The version of Sendmail 8.13.1-2 on Red Hat Enterprise Linux 4 Update 4 and earlier does not reject the "localhost.localdomain" domain name for e-mail messages that come from external hosts, which might allow remote attackers to spoof messages.

Vulnerable Configurations

Part Description Count
OS
Redhat
1
Application
Sendmail
1

Nessus

  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2007-0252.NASL
    descriptionFrom Red Hat Security Advisory 2007:0252 : Updated sendmail packages that fix a security issue and various bugs are now available for Red Hat Enterprise Linux 4. This update has been rated as having low security impact by the Red Hat Security Response Team. Sendmail is a very widely used Mail Transport Agent (MTA). MTAs deliver mail from one machine to another. Sendmail is not a client program, but rather a behind-the-scenes daemon that moves email over networks or the Internet to its final destination. The configuration of Sendmail on Red Hat Enterprise Linux was found to not reject the
    last seen2020-06-01
    modified2020-06-02
    plugin id67480
    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/67480
    titleOracle Linux 4 : sendmail (ELSA-2007-0252)
    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-2007:0252 and 
    # Oracle Linux Security Advisory ELSA-2007-0252 respectively.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(67480);
      script_version("1.6");
      script_cvs_date("Date: 2019/10/25 13:36:06");
    
      script_cve_id("CVE-2006-7176");
      script_xref(name:"RHSA", value:"2007:0252");
    
      script_name(english:"Oracle Linux 4 : sendmail (ELSA-2007-0252)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Oracle Linux host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "From Red Hat Security Advisory 2007:0252 :
    
    Updated sendmail packages that fix a security issue and various bugs
    are now available for Red Hat Enterprise Linux 4.
    
    This update has been rated as having low security impact by the Red
    Hat Security Response Team.
    
    Sendmail is a very widely used Mail Transport Agent (MTA). MTAs
    deliver mail from one machine to another. Sendmail is not a client
    program, but rather a behind-the-scenes daemon that moves email over
    networks or the Internet to its final destination.
    
    The configuration of Sendmail on Red Hat Enterprise Linux was found to
    not reject the 'localhost.localdomain' domain name for e-mail messages
    that came from external hosts. This could have allowed remote
    attackers to disguise spoofed messages (CVE-2006-7176).
    
    This updated package also fixes the following bugs :
    
    * Infinite loop within tls read.
    
    * Incorrect path to selinuxenabled in initscript.
    
    * Build artifacts from sendmail-cf package.
    
    * Missing socketmap support.
    
    * Add support for CipherList configuration directive.
    
    * Path for aliases file.
    
    * Failure of shutting down sm-client.
    
    * Allows to specify persistent queue runners.
    
    * Missing dnl for SMART_HOST define.
    
    * Fixes connections stay in CLOSE_WAIT.
    
    All users of Sendmail should upgrade to these updated packages, which
    contains backported patches to resolve these issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://oss.oracle.com/pipermail/el-errata/2007-May/000151.html"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected sendmail packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:sendmail");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:sendmail-cf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:sendmail-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:linux:sendmail-doc");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:linux:4");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2007/03/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2007/05/17");
      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:"^4([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Oracle Linux 4", "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:"EL4", cpu:"i386", reference:"sendmail-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"x86_64", reference:"sendmail-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"i386", reference:"sendmail-cf-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"x86_64", reference:"sendmail-cf-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"i386", reference:"sendmail-devel-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"x86_64", reference:"sendmail-devel-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"i386", reference:"sendmail-doc-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"EL4", cpu:"x86_64", reference:"sendmail-doc-8.13.1-3.2.el4")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "sendmail / sendmail-cf / sendmail-devel / sendmail-doc");
    }
    
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20100330_SENDMAIL_ON_SL5_X.NASL
    descriptionThe configuration of sendmail in Scientific Linux was found to not reject the
    last seen2020-06-01
    modified2020-06-02
    plugin id60774
    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/60774
    titleScientific Linux Security Update : sendmail on SL5.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(60774);
      script_version("1.5");
      script_cvs_date("Date: 2019/10/25 13:36:18");
    
      script_cve_id("CVE-2006-7176", "CVE-2009-4565");
      script_xref(name:"IAVA", value:"2010-A-0002");
    
      script_name(english:"Scientific Linux Security Update : sendmail on SL5.x i386/x86_64");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Scientific Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The configuration of sendmail in Scientific Linux was found to not
    reject the 'localhost.localdomain' domain name for email messages that
    come from external hosts. This could allow remote attackers to
    disguise spoofed messages. (CVE-2006-7176)
    
    A flaw was found in the way sendmail handled NUL characters in the
    CommonName field of X.509 certificates. An attacker able to get a
    carefully-crafted certificate signed by a trusted Certificate
    Authority could trick sendmail into accepting it by mistake, allowing
    the attacker to perform a man-in-the-middle attack or bypass intended
    client certificate authentication. (CVE-2009-4565)
    
    Note: The CVE-2009-4565 issue only affected configurations using TLS
    with certificate verification and CommonName checking enabled, which
    is not a typical configuration.
    
    This update also fixes the following bugs :
    
      - sendmail was unable to parse files specified by the
        ServiceSwitchFile option which used a colon as a
        separator. (BZ#512871)
    
      - sendmail incorrectly returned a zero exit code when free
        space was low. (BZ#299951)
    
      - the sendmail manual page had a blank space between the
        -qG option and parameter. (BZ#250552)
    
      - the comments in the sendmail.mc file specified the wrong
        path to SSL certificates. (BZ#244012)
    
      - the sendmail packages did not provide the MTA
        capability. (BZ#494408)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=244012"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=250552"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=299951"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=494408"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.redhat.com/show_bug.cgi?id=512871"
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1004&L=scientific-linux-errata&T=0&P=917
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?7bf1e947"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_cwe_id(310);
    
      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:"2010/03/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/01");
      script_set_attribute(attribute:"stig_severity", value:"I");
      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:"SL5", reference:"sendmail-8.13.8-8.el5")) flag++;
    if (rpm_check(release:"SL5", reference:"sendmail-cf-8.13.8-8.el5")) flag++;
    if (rpm_check(release:"SL5", reference:"sendmail-devel-8.13.8-8.el5")) flag++;
    if (rpm_check(release:"SL5", reference:"sendmail-doc-8.13.8-8.el5")) 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-2007-0252.NASL
    descriptionUpdated sendmail packages that fix a security issue and various bugs are now available for Red Hat Enterprise Linux 4. This update has been rated as having low security impact by the Red Hat Security Response Team. Sendmail is a very widely used Mail Transport Agent (MTA). MTAs deliver mail from one machine to another. Sendmail is not a client program, but rather a behind-the-scenes daemon that moves email over networks or the Internet to its final destination. The configuration of Sendmail on Red Hat Enterprise Linux was found to not reject the
    last seen2020-06-01
    modified2020-06-02
    plugin id25142
    published2007-05-02
    reporterThis script is Copyright (C) 2007-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/25142
    titleRHEL 4 : sendmail (RHSA-2007:0252)
    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-2007:0252. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(25142);
      script_version ("1.21");
      script_cvs_date("Date: 2019/10/25 13:36:12");
    
      script_cve_id("CVE-2006-7176");
      script_xref(name:"RHSA", value:"2007:0252");
    
      script_name(english:"RHEL 4 : sendmail (RHSA-2007:0252)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated sendmail packages that fix a security issue and various bugs
    are now available for Red Hat Enterprise Linux 4.
    
    This update has been rated as having low security impact by the Red
    Hat Security Response Team.
    
    Sendmail is a very widely used Mail Transport Agent (MTA). MTAs
    deliver mail from one machine to another. Sendmail is not a client
    program, but rather a behind-the-scenes daemon that moves email over
    networks or the Internet to its final destination.
    
    The configuration of Sendmail on Red Hat Enterprise Linux was found to
    not reject the 'localhost.localdomain' domain name for e-mail messages
    that came from external hosts. This could have allowed remote
    attackers to disguise spoofed messages (CVE-2006-7176).
    
    This updated package also fixes the following bugs :
    
    * Infinite loop within tls read.
    
    * Incorrect path to selinuxenabled in initscript.
    
    * Build artifacts from sendmail-cf package.
    
    * Missing socketmap support.
    
    * Add support for CipherList configuration directive.
    
    * Path for aliases file.
    
    * Failure of shutting down sm-client.
    
    * Allows to specify persistent queue runners.
    
    * Missing dnl for SMART_HOST define.
    
    * Fixes connections stay in CLOSE_WAIT.
    
    All users of Sendmail should upgrade to these updated packages, which
    contains backported patches to resolve these issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2006-7176"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2007:0252"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail-cf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail-doc");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2007/03/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2007/05/01");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/05/02");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-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-2007:0252";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          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:"sendmail-8.13.1-3.2.el4")) flag++;
      if (rpm_check(release:"RHEL4", reference:"sendmail-cf-8.13.1-3.2.el4")) flag++;
      if (rpm_check(release:"RHEL4", reference:"sendmail-devel-8.13.1-3.2.el4")) flag++;
      if (rpm_check(release:"RHEL4", reference:"sendmail-doc-8.13.1-3.2.el4")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          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, "sendmail / sendmail-cf / sendmail-devel / sendmail-doc");
      }
    }
    
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20070501_SENDMAIL_ON_SL4_X.NASL
    descriptionThe configuration of Sendmail was found to not reject the
    last seen2020-06-01
    modified2020-06-02
    plugin id60169
    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/60169
    titleScientific Linux Security Update : sendmail 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(60169);
      script_version("1.4");
      script_cvs_date("Date: 2019/10/25 13:36:16");
    
      script_cve_id("CVE-2006-7176");
    
      script_name(english:"Scientific Linux Security Update : sendmail on SL4.x i386/x86_64");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Scientific Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The configuration of Sendmail was found to not reject the
    'localhost.localdomain' domain name for e-mail messages that came from
    external hosts. This could have allowed remote attackers to disguise
    spoofed messages (CVE-2006-7176)."
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind0705&L=scientific-linux-errata&T=0&P=1448
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?3360bb5a"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
    
      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:"2007/05/01");
      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:"sendmail-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"SL4", reference:"sendmail-cf-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"SL4", reference:"sendmail-devel-8.13.1-3.2.el4")) flag++;
    if (rpm_check(release:"SL4", reference:"sendmail-doc-8.13.1-3.2.el4")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2010-0237.NASL
    descriptionUpdated sendmail packages that fix two security issues and several bugs are now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section. Sendmail is a very widely used Mail Transport Agent (MTA). MTAs deliver mail from one machine to another. Sendmail is not a client program, but rather a behind-the-scenes daemon that moves email over networks or the Internet to its final destination. The configuration of sendmail in Red Hat Enterprise Linux was found to not reject the
    last seen2020-06-01
    modified2020-06-02
    plugin id46286
    published2010-05-11
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/46286
    titleRHEL 5 : sendmail (RHSA-2010:0237)
    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-2010:0237. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(46286);
      script_version ("1.31");
      script_cvs_date("Date: 2019/10/25 13:36:15");
    
      script_cve_id("CVE-2006-7176", "CVE-2009-4565");
      script_bugtraq_id(37543);
      script_xref(name:"RHSA", value:"2010:0237");
      script_xref(name:"IAVA", value:"2010-A-0002");
    
      script_name(english:"RHEL 5 : sendmail (RHSA-2010:0237)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated sendmail packages that fix two security issues and several
    bugs are now available for Red Hat Enterprise Linux 5.
    
    The Red Hat Security Response Team has rated this update as having low
    security impact. Common Vulnerability Scoring System (CVSS) base
    scores, which give detailed severity ratings, are available for each
    vulnerability from the CVE links in the References section.
    
    Sendmail is a very widely used Mail Transport Agent (MTA). MTAs
    deliver mail from one machine to another. Sendmail is not a client
    program, but rather a behind-the-scenes daemon that moves email over
    networks or the Internet to its final destination.
    
    The configuration of sendmail in Red Hat Enterprise Linux was found to
    not reject the 'localhost.localdomain' domain name for email messages
    that come from external hosts. This could allow remote attackers to
    disguise spoofed messages. (CVE-2006-7176)
    
    A flaw was found in the way sendmail handled NUL characters in the
    CommonName field of X.509 certificates. An attacker able to get a
    carefully-crafted certificate signed by a trusted Certificate
    Authority could trick sendmail into accepting it by mistake, allowing
    the attacker to perform a man-in-the-middle attack or bypass intended
    client certificate authentication. (CVE-2009-4565)
    
    Note: The CVE-2009-4565 issue only affected configurations using TLS
    with certificate verification and CommonName checking enabled, which
    is not a typical configuration.
    
    This update also fixes the following bugs :
    
    * sendmail was unable to parse files specified by the
    ServiceSwitchFile option which used a colon as a separator.
    (BZ#512871)
    
    * sendmail incorrectly returned a zero exit code when free space was
    low. (BZ#299951)
    
    * the sendmail manual page had a blank space between the -qG option
    and parameter. (BZ#250552)
    
    * the comments in the sendmail.mc file specified the wrong path to SSL
    certificates. (BZ#244012)
    
    * the sendmail packages did not provide the MTA capability.
    (BZ#494408)
    
    All users of sendmail are advised to upgrade to these updated
    packages, which resolve these issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2006-7176"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2009-4565"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2010:0237"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      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_cwe_id(310);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail-cf");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:sendmail-doc");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2007/03/27");
      script_set_attribute(attribute:"patch_publication_date", value:"2010/03/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2010/05/11");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_set_attribute(attribute:"stig_severity", value:"I");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2010-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:"^5([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 5.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-2010:0237";
      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:"RHEL5", cpu:"i386", reference:"sendmail-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"sendmail-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"sendmail-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"sendmail-cf-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"sendmail-cf-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"sendmail-cf-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", reference:"sendmail-devel-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"sendmail-doc-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"sendmail-doc-8.13.8-8.el5")) flag++;
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"sendmail-doc-8.13.8-8.el5")) 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, "sendmail / sendmail-cf / sendmail-devel / sendmail-doc");
      }
    }
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2007-0252.NASL
    descriptionUpdated sendmail packages that fix a security issue and various bugs are now available for Red Hat Enterprise Linux 4. This update has been rated as having low security impact by the Red Hat Security Response Team. Sendmail is a very widely used Mail Transport Agent (MTA). MTAs deliver mail from one machine to another. Sendmail is not a client program, but rather a behind-the-scenes daemon that moves email over networks or the Internet to its final destination. The configuration of Sendmail on Red Hat Enterprise Linux was found to not reject the
    last seen2020-06-01
    modified2020-06-02
    plugin id67046
    published2013-06-29
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/67046
    titleCentOS 4 : sendmail (CESA-2007:0252)

Oval

accepted2013-04-29T04:14:26.597-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 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
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 5
    ovaloval:org.mitre.oval:def:11414
  • commentThe operating system installed on the system is CentOS Linux 5.x
    ovaloval:org.mitre.oval:def:15802
  • commentOracle Linux 5.x
    ovaloval:org.mitre.oval:def:15459
descriptionThe version of Sendmail 8.13.1-2 on Red Hat Enterprise Linux 4 Update 4 and earlier does not reject the "localhost.localdomain" domain name for e-mail messages that come from external hosts, which might allow remote attackers to spoof messages.
familyunix
idoval:org.mitre.oval:def:11499
statusaccepted
submitted2010-07-09T03:56:16-04:00
titleThe version of Sendmail 8.13.1-2 on Red Hat Enterprise Linux 4 Update 4 and earlier does not reject the "localhost.localdomain" domain name for e-mail messages that come from external hosts, which might allow remote attackers to spoof messages.
version27

Redhat

advisories
bugzilla
id200923
titlesendmail.mc missing dnl on SMART_HOST define
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
    • OR
      • AND
        • commentsendmail-devel is earlier than 0:8.13.1-3.2.el4
          ovaloval:com.redhat.rhsa:tst:20070252001
        • commentsendmail-devel is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060264004
      • AND
        • commentsendmail is earlier than 0:8.13.1-3.2.el4
          ovaloval:com.redhat.rhsa:tst:20070252003
        • commentsendmail is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060264002
      • AND
        • commentsendmail-doc is earlier than 0:8.13.1-3.2.el4
          ovaloval:com.redhat.rhsa:tst:20070252005
        • commentsendmail-doc is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060264006
      • AND
        • commentsendmail-cf is earlier than 0:8.13.1-3.2.el4
          ovaloval:com.redhat.rhsa:tst:20070252007
        • commentsendmail-cf is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20060264008
rhsa
idRHSA-2007:0252
released2007-05-01
severityLow
titleRHSA-2007:0252: sendmail security and bug fix update (Low)
rpms
  • sendmail-0:8.13.1-3.2.el4
  • sendmail-cf-0:8.13.1-3.2.el4
  • sendmail-debuginfo-0:8.13.1-3.2.el4
  • sendmail-devel-0:8.13.1-3.2.el4
  • sendmail-doc-0:8.13.1-3.2.el4
  • sendmail-0:8.13.8-8.el5
  • sendmail-cf-0:8.13.8-8.el5
  • sendmail-debuginfo-0:8.13.8-8.el5
  • sendmail-devel-0:8.13.8-8.el5
  • sendmail-doc-0:8.13.8-8.el5