Vulnerabilities > CVE-2011-1929 - Improper Input Validation vulnerability in Dovecot
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
lib-mail/message-header-parser.c in Dovecot 1.2.x before 1.2.17 and 2.0.x before 2.0.13 does not properly handle '\0' characters in header names, which allows remote attackers to cause a denial of service (daemon crash or mailbox corruption) via a crafted e-mail message.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Server Side Include (SSI) Injection An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
- Cross Zone Scripting An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
Nessus
NASL family Fedora Local Security Checks NASL id FEDORA_2011-7258.NASL description - dovecot updated to 2.0.13 - mdbox purge: Fixed wrong warning about corrupted extrefs. - script-login binary wasn last seen 2020-06-01 modified 2020-06-02 plugin id 54911 published 2011-05-31 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/54911 title Fedora 14 : dovecot-2.0.13-1.fc14 (2011-7258) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from Fedora Security Advisory 2011-7258. # include("compat.inc"); if (description) { script_id(54911); script_version("1.7"); script_cvs_date("Date: 2019/08/02 13:32:35"); script_cve_id("CVE-2011-1929"); script_xref(name:"FEDORA", value:"2011-7258"); script_name(english:"Fedora 14 : dovecot-2.0.13-1.fc14 (2011-7258)"); script_summary(english:"Checks rpm output for the updated package."); script_set_attribute( attribute:"synopsis", value:"The remote Fedora host is missing a security update." ); script_set_attribute( attribute:"description", value: " - dovecot updated to 2.0.13 - mdbox purge: Fixed wrong warning about corrupted extrefs. - script-login binary wasn't actually dropping privileges to the user/group/chroot specified by its service settings. - Fixed potential crashes and other problems when parsing header names that contained NUL characters. 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." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=706286" ); # https://lists.fedoraproject.org/pipermail/package-announce/2011-May/060815.html script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?732df27a" ); script_set_attribute( attribute:"solution", value:"Update the affected dovecot package." ); script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:dovecot"); script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:14"); script_set_attribute(attribute:"patch_publication_date", value:"2011/05/19"); script_set_attribute(attribute:"plugin_publication_date", value:"2011/05/31"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2011-2019 Tenable Network Security, Inc."); script_family(english:"Fedora Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/RedHat/release"); if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora"); os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora"); os_ver = os_ver[1]; if (! ereg(pattern:"^14([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 14.x", "Fedora " + os_ver); if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu); flag = 0; if (rpm_check(release:"FC14", reference:"dovecot-2.0.13-1.fc14")) 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, "dovecot"); }
NASL family Scientific Linux Local Security Checks NASL id SL_20110818_DOVECOT_ON_SL4_X.NASL description Dovecot is an IMAP server for Linux, UNIX, and similar operating systems, primarily written with security in mind. A denial of service flaw was found in the way Dovecot handled NULL characters in certain header names. A mail message with specially crafted headers could cause the Dovecot child process handling the target user last seen 2020-06-01 modified 2020-06-02 plugin id 61116 published 2012-08-01 reporter This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/61116 title Scientific Linux Security Update : dovecot on SL4.x, SL5.x, SL6.x i386/x86_64 NASL family SuSE Local Security Checks NASL id SUSE_11_4_DOVECOT20-110525.NASL description dovecot crash when parsing mail headers that contain NUL characters (CVE-2011-1929) last seen 2020-06-01 modified 2020-06-02 plugin id 75819 published 2014-06-13 reporter This script is Copyright (C) 2014-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/75819 title openSUSE Security Update : dovecot20 (dovecot20-4610) NASL family Oracle Linux Local Security Checks NASL id ORACLELINUX_ELSA-2011-1187.NASL description From Red Hat Security Advisory 2011:1187 : Updated dovecot 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. Dovecot is an IMAP server for Linux, UNIX, and similar operating systems, primarily written with security in mind. A denial of service flaw was found in the way Dovecot handled NULL characters in certain header names. A mail message with specially crafted headers could cause the Dovecot child process handling the target user last seen 2020-06-01 modified 2020-06-02 plugin id 68330 published 2013-07-12 reporter This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/68330 title Oracle Linux 4 / 5 / 6 : dovecot (ELSA-2011-1187) NASL family FreeBSD Local Security Checks NASL id FREEBSD_PKG_0B53F5F7CA8A11E0AEA300215C6A37BB.NASL description Timo Sirainen reports : Fixed potential crashes and other problems when parsing header names that contained NUL characters. last seen 2020-06-01 modified 2020-06-02 plugin id 55913 published 2011-08-20 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55913 title FreeBSD : dovecot -- denial of service vulnerability (0b53f5f7-ca8a-11e0-aea3-00215c6a37bb) NASL family Mandriva Local Security Checks NASL id MANDRIVA_MDVSA-2011-101.NASL description A vulnerability has been identified and fixed in dovecot : lib-mail/message-header-parser.c in Dovecot 1.2.x before 1.2.17 and 2.0.x before 2.0.13 does not properly handle last seen 2020-06-01 modified 2020-06-02 plugin id 54839 published 2011-05-27 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/54839 title Mandriva Linux Security Advisory : dovecot (MDVSA-2011:101) NASL family Fedora Local Security Checks NASL id FEDORA_2011-7612.NASL description - Fixed potential crashes and other problems when parsing header names that contained NUL characters. - IMAP: Fixed a memory leak with ESEARCH command handling - Quota warnings could have been executed at incorrect times with some configs. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues. last seen 2020-06-01 modified 2020-06-02 plugin id 55055 published 2011-06-12 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/55055 title Fedora 13 : dovecot-1.2.17-1.fc13 (2011-7612) NASL family CentOS Local Security Checks NASL id CENTOS_RHSA-2011-1187.NASL description Updated dovecot 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. Dovecot is an IMAP server for Linux, UNIX, and similar operating systems, primarily written with security in mind. A denial of service flaw was found in the way Dovecot handled NULL characters in certain header names. A mail message with specially crafted headers could cause the Dovecot child process handling the target user last seen 2020-06-01 modified 2020-06-02 plugin id 55924 published 2011-08-22 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55924 title CentOS 4 / 5 : dovecot (CESA-2011:1187) NASL family SuSE Local Security Checks NASL id SUSE_11_4_DOVECOT12-110525.NASL description dovecot crash when parsing mail headers that contain NUL characters (CVE-2011-1929) last seen 2020-06-01 modified 2020-06-02 plugin id 75818 published 2014-06-13 reporter This script is Copyright (C) 2014-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/75818 title openSUSE Security Update : dovecot12 (dovecot12-4609) NASL family Debian Local Security Checks NASL id DEBIAN_DSA-2252.NASL description It was discovered that the message header parser in the Dovecot mail server parsed NUL characters incorrectly, which could lead to denial of service through malformed mail headers. The oldstable distribution (lenny) is not affected. last seen 2020-03-17 modified 2011-06-10 plugin id 55040 published 2011-06-10 reporter This script is Copyright (C) 2011-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55040 title Debian DSA-2252-1 : dovecot - programming error NASL family Ubuntu Local Security Checks NASL id UBUNTU_USN-1143-1.NASL description It was discovered that the message header parser in Dovecot did not properly handle last seen 2020-06-01 modified 2020-06-02 plugin id 55106 published 2011-06-13 reporter Ubuntu Security Notice (C) 2011-2019 Canonical, Inc. / NASL script (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55106 title Ubuntu 10.04 LTS / 10.10 / 11.04 : dovecot vulnerability (USN-1143-1) NASL family Red Hat Local Security Checks NASL id REDHAT-RHSA-2011-1187.NASL description Updated dovecot 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. Dovecot is an IMAP server for Linux, UNIX, and similar operating systems, primarily written with security in mind. A denial of service flaw was found in the way Dovecot handled NULL characters in certain header names. A mail message with specially crafted headers could cause the Dovecot child process handling the target user last seen 2020-06-01 modified 2020-06-02 plugin id 55917 published 2011-08-20 reporter This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/55917 title RHEL 4 / 5 / 6 : dovecot (RHSA-2011:1187) NASL family Fedora Local Security Checks NASL id FEDORA_2011-7268.NASL description - dovecot updated to 2.0.13 - mdbox purge: Fixed wrong warning about corrupted extrefs. - script-login binary wasn last seen 2020-06-01 modified 2020-06-02 plugin id 54912 published 2011-05-31 reporter This script is Copyright (C) 2011-2019 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/54912 title Fedora 15 : dovecot-2.0.13-1.fc15 (2011-7268) NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201110-04.NASL description The remote host is affected by the vulnerability described in GLSA-201110-04 (Dovecot: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Dovecot. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could exploit these vulnerabilities to cause the remote execution of arbitrary code, or a Denial of Service condition, to conduct directory traversal attacks, corrupt data, or disclose information. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 56446 published 2011-10-11 reporter This script is Copyright (C) 2011-2018 Tenable Network Security, Inc. source https://www.tenable.com/plugins/nessus/56446 title GLSA-201110-04 : Dovecot: Multiple vulnerabilities NASL family SuSE Local Security Checks NASL id SUSE_11_3_DOVECOT12-110525.NASL description dovecot crash when parsing mail headers that contain NUL characters (CVE-2011-1929) last seen 2020-06-01 modified 2020-06-02 plugin id 75472 published 2014-06-13 reporter This script is Copyright (C) 2014-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/75472 title openSUSE Security Update : dovecot12 (openSUSE-SU-2011:0540-1)
Redhat
advisories |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpms |
|
References
- http://dovecot.org/pipermail/dovecot/2011-May/059085.html
- http://dovecot.org/pipermail/dovecot/2011-May/059086.html
- http://hg.dovecot.org/dovecot-1.1/rev/3698dfe0f21c
- http://lists.fedoraproject.org/pipermail/package-announce/2011-June/061384.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-May/060815.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-May/060825.html
- http://openwall.com/lists/oss-security/2011/05/18/4
- http://openwall.com/lists/oss-security/2011/05/19/3
- http://openwall.com/lists/oss-security/2011/05/19/6
- http://osvdb.org/72495
- http://secunia.com/advisories/44683
- http://secunia.com/advisories/44712
- http://secunia.com/advisories/44756
- http://secunia.com/advisories/44771
- http://secunia.com/advisories/44827
- http://www.debian.org/security/2011/dsa-2252
- http://www.dovecot.org/doc/NEWS-1.2
- http://www.dovecot.org/doc/NEWS-2.0
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:101
- http://www.redhat.com/support/errata/RHSA-2011-1187.html
- http://www.securityfocus.com/bid/47930
- http://www.ubuntu.com/usn/USN-1143-1
- https://bugzilla.redhat.com/show_bug.cgi?id=706286
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67589
- https://hermes.opensuse.org/messages/8581790
- http://dovecot.org/pipermail/dovecot/2011-May/059085.html
- https://hermes.opensuse.org/messages/8581790
- https://exchange.xforce.ibmcloud.com/vulnerabilities/67589
- https://bugzilla.redhat.com/show_bug.cgi?id=706286
- http://www.ubuntu.com/usn/USN-1143-1
- http://www.securityfocus.com/bid/47930
- http://www.redhat.com/support/errata/RHSA-2011-1187.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:101
- http://www.dovecot.org/doc/NEWS-2.0
- http://www.dovecot.org/doc/NEWS-1.2
- http://www.debian.org/security/2011/dsa-2252
- http://secunia.com/advisories/44827
- http://secunia.com/advisories/44771
- http://secunia.com/advisories/44756
- http://secunia.com/advisories/44712
- http://secunia.com/advisories/44683
- http://osvdb.org/72495
- http://openwall.com/lists/oss-security/2011/05/19/6
- http://openwall.com/lists/oss-security/2011/05/19/3
- http://openwall.com/lists/oss-security/2011/05/18/4
- http://lists.fedoraproject.org/pipermail/package-announce/2011-May/060825.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-May/060815.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-June/061384.html
- http://hg.dovecot.org/dovecot-1.1/rev/3698dfe0f21c
- http://dovecot.org/pipermail/dovecot/2011-May/059086.html