Vulnerabilities > CVE-2011-1720 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Postfix

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

Summary

The SMTP server in Postfix before 2.5.13, 2.6.x before 2.6.10, 2.7.x before 2.7.4, and 2.8.x before 2.8.3, when certain Cyrus SASL authentication methods are enabled, does not create a new server handle after client authentication fails, which allows remote attackers to cause a denial of service (heap memory corruption and daemon crash) or possibly execute arbitrary code via an invalid AUTH command with one method followed by an AUTH command with a different method.

Vulnerable Configurations

Part Description Count
Application
Postfix
109

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 familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2011-0843.NASL
    descriptionUpdated postfix packages that fix one security issue are now available for Red Hat Enterprise Linux 4, 5, and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), and TLS. A heap-based buffer over-read flaw was found in the way Postfix performed SASL handlers management for SMTP sessions, when Cyrus SASL authentication was enabled. A remote attacker could use this flaw to cause the Postfix smtpd server to crash via a specially crafted SASL authentication request. The smtpd process was automatically restarted by the postfix master process after the time configured with service_throttle_time elapsed. (CVE-2011-1720) Note: Cyrus SASL authentication for Postfix is not enabled by default. Red Hat would like to thank the CERT/CC for reporting this issue. Upstream acknowledges Thomas Jarosch of Intra2net AG as the original reporter. Users of Postfix are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing this update, the postfix service will be restarted automatically.
    last seen2020-06-01
    modified2020-06-02
    plugin id54931
    published2011-06-01
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/54931
    titleRHEL 4 / 5 / 6 : postfix (RHSA-2011:0843)
    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-2011:0843. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(54931);
      script_version ("1.20");
      script_cvs_date("Date: 2019/10/25 13:36:16");
    
      script_cve_id("CVE-2011-1720");
      script_bugtraq_id(47778);
      script_xref(name:"RHSA", value:"2011:0843");
    
      script_name(english:"RHEL 4 / 5 / 6 : postfix (RHSA-2011:0843)");
      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 postfix packages that fix one security issue are now available
    for Red Hat Enterprise Linux 4, 5, and 6.
    
    The Red Hat Security Response Team has rated this update as having
    moderate security impact. A Common Vulnerability Scoring System (CVSS)
    base score, which gives a detailed severity rating, is available from
    the CVE link in the References section.
    
    Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH
    (SASL), and TLS.
    
    A heap-based buffer over-read flaw was found in the way Postfix
    performed SASL handlers management for SMTP sessions, when Cyrus SASL
    authentication was enabled. A remote attacker could use this flaw to
    cause the Postfix smtpd server to crash via a specially crafted SASL
    authentication request. The smtpd process was automatically restarted
    by the postfix master process after the time configured with
    service_throttle_time elapsed. (CVE-2011-1720)
    
    Note: Cyrus SASL authentication for Postfix is not enabled by default.
    
    Red Hat would like to thank the CERT/CC for reporting this issue.
    Upstream acknowledges Thomas Jarosch of Intra2net AG as the original
    reporter.
    
    Users of Postfix are advised to upgrade to these updated packages,
    which contain a backported patch to resolve this issue. After
    installing this update, the postfix service will be restarted
    automatically."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2011-1720"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2011:0843"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/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:redhat:enterprise_linux:postfix");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:postfix-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:postfix-perl-scripts");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:postfix-pflogsumm");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:4.8");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5.6");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6.1");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2011/05/13");
      script_set_attribute(attribute:"patch_publication_date", value:"2011/05/31");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/06/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) 2011-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|5|6)([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 4.x / 5.x / 6.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-2011:0843";
      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:"postfix-2.2.10-1.5.el4")) flag++;
    
      if (rpm_check(release:"RHEL4", reference:"postfix-pflogsumm-2.2.10-1.5.el4")) flag++;
    
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"postfix-2.3.3-2.3.el5_6")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"postfix-2.3.3-2.3.el5_6")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"postfix-2.3.3-2.3.el5_6")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"i386", reference:"postfix-pflogsumm-2.3.3-2.3.el5_6")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"s390x", reference:"postfix-pflogsumm-2.3.3-2.3.el5_6")) flag++;
    
      if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"postfix-pflogsumm-2.3.3-2.3.el5_6")) flag++;
    
    
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"postfix-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"postfix-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"postfix-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"postfix-debuginfo-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"postfix-debuginfo-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"postfix-debuginfo-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"postfix-perl-scripts-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"s390x", reference:"postfix-perl-scripts-2.6.6-2.2.el6_1")) flag++;
    
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"postfix-perl-scripts-2.6.6-2.2.el6_1")) 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, "postfix / postfix-debuginfo / postfix-perl-scripts / etc");
      }
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_3_POSTFIX-110510.NASL
    descriptionRemote attackers could potentially exploit a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id75711
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75711
    titleopenSUSE Security Update : postfix (openSUSE-SU-2011:0476-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_POSTFIX-110504.NASL
    descriptionRemote attackers could have potentially exploited a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id53854
    published2011-05-10
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/53854
    titleSuSE 11.1 Security Update : postfix (SAT Patch Number 4478)
  • NASL familySuSE Local Security Checks
    NASL idSUSE9_12707.NASL
    descriptionThe following bugs have been fixed : - Remote attackers could potentially exploit a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id53868
    published2011-05-11
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/53868
    titleSuSE9 Security Update : Postfix (YOU Patch Number 12707)
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_3EB2C100738B11E089F4001E90D46635.NASL
    descriptionThe Postfix SMTP server has a memory corruption error, when the Cyrus SASL library is used with authentication mechanisms other than PLAIN and LOGIN (ANONYMOUS is not affected, but should not be used for other reasons). This memory corruption is known to result in a program crash (SIGSEV).
    last seen2020-06-01
    modified2020-06-02
    plugin id53852
    published2011-05-10
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53852
    titleFreeBSD : Postfix -- memory corruption vulnerability (3eb2c100-738b-11e0-89f4-001e90d46635)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_POSTFIX-7503.NASL
    descriptionRemote attackers could have potentially exploited a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id53855
    published2011-05-10
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/53855
    titleSuSE 10 Security Update : postfix (ZYPP Patch Number 7503)
  • NASL familyOracle Linux Local Security Checks
    NASL idORACLELINUX_ELSA-2011-0843.NASL
    descriptionFrom Red Hat Security Advisory 2011:0843 : Updated postfix packages that fix one security issue are now available for Red Hat Enterprise Linux 4, 5, and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), and TLS. A heap-based buffer over-read flaw was found in the way Postfix performed SASL handlers management for SMTP sessions, when Cyrus SASL authentication was enabled. A remote attacker could use this flaw to cause the Postfix smtpd server to crash via a specially crafted SASL authentication request. The smtpd process was automatically restarted by the postfix master process after the time configured with service_throttle_time elapsed. (CVE-2011-1720) Note: Cyrus SASL authentication for Postfix is not enabled by default. Red Hat would like to thank the CERT/CC for reporting this issue. Upstream acknowledges Thomas Jarosch of Intra2net AG as the original reporter. Users of Postfix are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing this update, the postfix service will be restarted automatically.
    last seen2020-06-01
    modified2020-06-02
    plugin id68283
    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/68283
    titleOracle Linux 4 / 5 / 6 : postfix (ELSA-2011-0843)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_POSTFIX-7502.NASL
    descriptionRemote attackers could have potentially exploited a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id57243
    published2011-12-13
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/57243
    titleSuSE 10 Security Update : postfix (ZYPP Patch Number 7502)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_2_POSTFIX-110510.NASL
    descriptionRemote attackers could potentially exploit a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id53875
    published2011-05-12
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53875
    titleopenSUSE Security Update : postfix (openSUSE-SU-2011:0476-1)
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-1131-1.NASL
    descriptionThomas Jarosch discovered that Postfix incorrectly handled authentication mechanisms other than PLAIN and LOGIN when the Cyrus SASL library is used. A remote attacker could use this to cause Postfix to crash, leading to a denial of service, or possibly execute arbitrary code as the postfix user. 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 seen2020-06-01
    modified2020-06-02
    plugin id55092
    published2011-06-13
    reporterUbuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/55092
    titleUbuntu 6.06 LTS / 8.04 LTS / 10.04 LTS / 10.10 / 11.04 : postfix vulnerability (USN-1131-1)
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2011-0843.NASL
    descriptionUpdated postfix packages that fix one security issue are now available for Red Hat Enterprise Linux 4, 5, and 6. The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), and TLS. A heap-based buffer over-read flaw was found in the way Postfix performed SASL handlers management for SMTP sessions, when Cyrus SASL authentication was enabled. A remote attacker could use this flaw to cause the Postfix smtpd server to crash via a specially crafted SASL authentication request. The smtpd process was automatically restarted by the postfix master process after the time configured with service_throttle_time elapsed. (CVE-2011-1720) Note: Cyrus SASL authentication for Postfix is not enabled by default. Red Hat would like to thank the CERT/CC for reporting this issue. Upstream acknowledges Thomas Jarosch of Intra2net AG as the original reporter. Users of Postfix are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing this update, the postfix service will be restarted automatically.
    last seen2020-06-01
    modified2020-06-02
    plugin id54937
    published2011-06-02
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/54937
    titleCentOS 4 / 5 : postfix (CESA-2011:0843)
  • NASL familyMandriva Local Security Checks
    NASL idMANDRIVA_MDVSA-2011-090.NASL
    descriptionA vulnerability has been found and corrected in postfix : The SMTP server in Postfix before 2.5.13, 2.6.x before 2.6.10, 2.7.x before 2.7.4, and 2.8.x before 2.8.3, when certain Cyrus SASL authentication methods are enabled, does not create a new server handle after client authentication fails, which allows remote attackers to cause a denial of service (heap memory corruption and daemon crash) or possibly execute arbitrary code via an invalid AUTH command with one method followed by an AUTH command with a different method (CVE-2011-1720). Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: http://store.mandriva.com/product_info.php?cPath=149 products_id=490 The updated packages have been patched to correct this issue.
    last seen2020-06-01
    modified2020-06-02
    plugin id54298
    published2011-05-18
    reporterThis script is Copyright (C) 2011-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/54298
    titleMandriva Linux Security Advisory : postfix (MDVSA-2011:090)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-6777.NASL
    descriptionThis is an update that fixes memory corruption in Postfix SMTP server Cyrus SASL support (CVE-2011-1720). For original upstream announcement see: http://archives.neohapsis.com/archives/postfix/2011-05/0208.html 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 seen2020-06-01
    modified2020-06-02
    plugin id54294
    published2011-05-18
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/54294
    titleFedora 13 : postfix-2.7.4-1.fc13 (2011-6777)
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-6771.NASL
    descriptionThis is an update that fixes memory corruption in Postfix SMTP server Cyrus SASL support (CVE-2011-1720). For original upstream announcement see: http://archives.neohapsis.com/archives/postfix/2011-05/0208.html 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 seen2020-06-01
    modified2020-06-02
    plugin id54292
    published2011-05-18
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/54292
    titleFedora 14 : postfix-2.7.4-1.fc14 (2011-6771)
  • NASL familySMTP problems
    NASL idPOSTFIX_MEMORY_CORRUPTION.NASL
    descriptionAccording to its banner, the version of the Postfix mail server listening on this port is earlier than 2.5.13, 2.6.19, 2.7.4, or 2.8.3. Such versions may be vulnerable to a memory corruption attack if they have Cyrus SASL enabled and are allowing authentication methods other than ANONYMOUS, LOGIN, and PLAIN. Code execution as the unprivileged postfix user may also be possible. Note that Nessus did not test whether the remote server was using Cyrus specifically, as opposed to another SASL library such as Dovecot.
    last seen2020-06-01
    modified2020-06-02
    plugin id54583
    published2011-05-19
    reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/54583
    titlePostfix Cyrus SASL Authentication Context Data Reuse Memory Corruption
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201206-33.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201206-33 (Postfix: Multiple vulnerabilities) A vulnerability have been discovered in Postfix. Please review the CVE identifier referenced below for details. Impact : An attacker could perform a man-in-the-middle attack and inject SMTP commands during the plaintext to TLS session switch or might execute arbitrary code. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id59706
    published2012-06-26
    reporterThis script is Copyright (C) 2012-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/59706
    titleGLSA-201206-33 : Postfix: Multiple vulnerabilities
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20110531_POSTFIX_ON_SL4_X.NASL
    descriptionPostfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), and TLS. A heap-based buffer over-read flaw was found in the way Postfix performed SASL handlers management for SMTP sessions, when Cyrus SASL authentication was enabled. A remote attacker could use this flaw to cause the Postfix smtpd server to crash via a specially crafted SASL authentication request. The smtpd process was automatically restarted by the postfix master process after the time configured with service_throttle_time elapsed. (CVE-2011-1720) Note: Cyrus SASL authentication for Postfix is not enabled by default. Users of Postfix are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue. After installing this update, the postfix service will be restarted automatically.
    last seen2020-06-01
    modified2020-06-02
    plugin id61060
    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/61060
    titleScientific Linux Security Update : postfix on SL4.x, SL5.x i386/x86_64
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2011-6784.NASL
    descriptionThis is an update that fixes memory corruption in Postfix SMTP server Cyrus SASL support (CVE-2011-1720). For original upstream announcement see: http://archives.neohapsis.com/archives/postfix/2011-05/0208.html 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 seen2020-06-01
    modified2020-06-02
    plugin id54573
    published2011-05-19
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/54573
    titleFedora 15 : postfix-2.8.3-1.fc15 (2011-6784)
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-2233.NASL
    descriptionSeveral vulnerabilities were discovered in Postfix, a mail transfer agent. The Common Vulnerabilities and Exposures project identifies the following problems : - CVE-2009-2939 The postinst script grants the postfix user write access to /var/spool/postfix/pid, which might allow local users to conduct symlink attacks that overwrite arbitrary files. - CVE-2011-0411 The STARTTLS implementation does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted SMTP sessions by sending a cleartext command that is processed after TLS is in place. - CVE-2011-1720 A heap-based read-only buffer overflow allows malicious clients to crash the smtpd server process using a crafted SASL authentication request.
    last seen2020-03-17
    modified2011-05-11
    plugin id53860
    published2011-05-11
    reporterThis script is Copyright (C) 2011-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/53860
    titleDebian DSA-2233-1 : postfix - several vulnerabilities
  • NASL familySMTP problems
    NASL idPOSTFIX_MEMORY_CORRUPTION_EXPLOIT.NASL
    descriptionThe Postfix mail server listening on this port appears vulnerable to a memory corruption attack as Nessus was able to crash an SMTP session with this host by using two different authentication methods in one session. Note that code execution as the unprivileged postfix user may also be possible.
    last seen2020-06-01
    modified2020-06-02
    plugin id54584
    published2011-05-19
    reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/54584
    titlePostfix Cyrus SASL Authentication Context Data Reuse Memory Corruption (exploit)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_11_4_POSTFIX-110510.NASL
    descriptionRemote attackers could potentially exploit a memory corruption issue in postfix
    last seen2020-06-01
    modified2020-06-02
    plugin id75997
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75997
    titleopenSUSE Security Update : postfix (openSUSE-SU-2011:0476-1)

Redhat

advisories
bugzilla
id699035
titleCVE-2011-1720 postfix (smtpd): Crash due to improper management of SASL handlers for SMTP sessions
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
        • commentpostfix-pflogsumm is earlier than 2:2.2.10-1.5.el4
          ovaloval:com.redhat.rhsa:tst:20110843001
        • commentpostfix-pflogsumm is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20080839002
      • AND
        • commentpostfix is earlier than 2:2.2.10-1.5.el4
          ovaloval:com.redhat.rhsa:tst:20110843003
        • commentpostfix is signed with Red Hat master key
          ovaloval:com.redhat.rhsa:tst:20080839004
  • AND
    • commentRed Hat Enterprise Linux 5 is installed
      ovaloval:com.redhat.rhba:tst:20070331005
    • OR
      • AND
        • commentpostfix is earlier than 2:2.3.3-2.3.el5_6
          ovaloval:com.redhat.rhsa:tst:20110843006
        • commentpostfix is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20080839007
      • AND
        • commentpostfix-pflogsumm is earlier than 2:2.3.3-2.3.el5_6
          ovaloval:com.redhat.rhsa:tst:20110843008
        • commentpostfix-pflogsumm is signed with Red Hat redhatrelease key
          ovaloval:com.redhat.rhsa:tst:20080839009
  • AND
    • commentRed Hat Enterprise Linux 6 is installed
      ovaloval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • commentpostfix-perl-scripts is earlier than 2:2.6.6-2.2.el6_1
          ovaloval:com.redhat.rhsa:tst:20110843011
        • commentpostfix-perl-scripts is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20110423002
      • AND
        • commentpostfix is earlier than 2:2.6.6-2.2.el6_1
          ovaloval:com.redhat.rhsa:tst:20110843013
        • commentpostfix is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20110423004
rhsa
idRHSA-2011:0843
released2011-05-31
severityModerate
titleRHSA-2011:0843: postfix security update (Moderate)
rpms
  • postfix-2:2.2.10-1.5.el4
  • postfix-2:2.3.3-2.3.el5_6
  • postfix-2:2.6.6-2.2.el6_1
  • postfix-debuginfo-2:2.2.10-1.5.el4
  • postfix-debuginfo-2:2.3.3-2.3.el5_6
  • postfix-debuginfo-2:2.6.6-2.2.el6_1
  • postfix-perl-scripts-2:2.6.6-2.2.el6_1
  • postfix-pflogsumm-2:2.2.10-1.5.el4
  • postfix-pflogsumm-2:2.3.3-2.3.el5_6

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 47778 CVE ID: CVE-2011-1720 Postfix是Unix类操作系统中所使用的邮件传输代理。 Postfix SMTP Server在实现上存在Cyrus SASL支持内存破坏漏洞,在启用了Cyrus SASL支持时可影响SMTP服务器,远程攻击者可利用此漏洞执行任意代码或造成拒绝服务。 启用了SASL验证时,Postfix SMTP Server为每个SMTP会话创建了一个SASL句柄,在关闭SMTP连接前会一直使用此句柄。根据Cyrus SASL include源文件的注释,服务器在客户端验证失败后不应重新使用Cyrus SASL服务器,而应创建包含机制列表的新Cyrus SASL服务器句柄。但Postfix SMTP Server在验证失败后没有新建Cyrus SASL服务器句柄,结果造成拒绝服务。 Wietse Venema Postfix 2.x Ubuntu Linux 8.x Ubuntu Linux 6.x Ubuntu Linux 11.x Ubuntu Linux 10.x 临时解决方法: 如果您不能立刻安装补丁或者升级,NSFOCUS建议您采取以下措施以降低威胁: * 禁用Postfix SMTP的Cyrus SASL身份验证机制,而非禁用PLAIN和LOGIN。 厂商补丁: Wietse Venema ------------- 目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: http://www.postfix.org/
idSSV:20542
last seen2017-11-19
modified2011-05-13
published2011-05-13
reporterRoot
titlePostfix SMTP Server Cyrus SASL支持内存破坏漏洞