{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "dovecot", "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2011-4318"}], "descriptions": [{"lang": "en", "value": "Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2013-03-07T01:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"LOW\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "dovecot", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "dovecot-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "dovecot-mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "dovecot-pgsql", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "dovecot-pigeonhole", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2011-4318.html"}], "descriptions": [{"lang": "en", "value": "Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2013-02-22T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "redhat", "product": "dovecot", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "dovecot-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "dovecot-mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "dovecot-pgsql", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "dovecot-pigeonhole", "versions": [{"status": "affected", "version": "0", "lessThan": "1:2.0.9-5.el6", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2013:0520"}, {"url": "https://access.redhat.com/security/cve/CVE-2011-4318"}], "descriptions": [{"lang": "en", "value": "Dovecot is an IMAP server, written with security primarily in mind, for\nLinux and other UNIX-like systems. It also contains a small POP3 server. It\nsupports mail in either of maildir or mbox formats. The SQL drivers and\nauthentication plug-ins are provided as sub-packages.\n\nTwo flaws were found in the way some settings were enforced by the\nscript-login functionality of Dovecot. A remote, authenticated user could\nuse these flaws to bypass intended access restrictions or conduct a\ndirectory traversal attack by leveraging login scripts. (CVE-2011-2166,\nCVE-2011-2167)\n\nA flaw was found in the way Dovecot performed remote server identity\nverification, when it was configured to proxy IMAP and POP3 connections to\nremote hosts using TLS/SSL protocols. A remote attacker could use this flaw\nto conduct man-in-the-middle attacks using an X.509 certificate issued by\na trusted Certificate Authority (for a different name). (CVE-2011-4318)\n\nThis update also fixes the following bug:\n\n* When a new user first accessed their IMAP inbox, Dovecot was, under some\ncircumstances, unable to change the group ownership of the inbox directory\nin the user's Maildir location to match that of the user's mail spool\n(/var/mail/$USER). This correctly generated an \"Internal error occurred\"\nmessage. However, with a subsequent attempt to access the inbox, Dovecot\nsaw that the directory already existed and proceeded with its operation,\nleaving the directory with incorrectly set permissions. This update\ncorrects the underlying permissions setting error. When a new user now\naccesses their inbox for the first time, and it is not possible to set\ngroup ownership, Dovecot removes the created directory and generates an\nerror message instead of keeping the directory with incorrect group\nownership. (BZ#697620)\n\nUsers of dovecot are advised to upgrade to these updated packages, which\ncontain backported patches to correct these issues. After installing the\nupdated packages, the dovecot service will be restarted automatically."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2011-11-17T00:00:00Z", "x_subShortName": "redhat_6"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5.8, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:dovecot:dovecot:2.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.10:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.11:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.12:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.13:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.14:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.15:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.3:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.4:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.5:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.6:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.7:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.8:*:*:*:*:*:*:*", "cpe:2.3:a:dovecot:dovecot:2.0.9:*:*:*:*:*:*:*"], "vendor": "dovecot", "product": "dovecot", "versions": [{"status": "affected", "version": "2.0.0"}, {"status": "affected", "version": "2.0.1"}, {"status": "affected", "version": "2.0.10"}, {"status": "affected", "version": "2.0.11"}, {"status": "affected", "version": "2.0.12"}, {"status": "affected", "version": "2.0.13"}, {"status": "affected", "version": "2.0.14"}, {"status": "affected", "version": "2.0.15"}, {"status": "affected", "version": "2.0.2"}, {"status": "affected", "version": "2.0.3"}, {"status": "affected", "version": "2.0.4"}, {"status": "affected", "version": "2.0.5"}, {"status": "affected", "version": "2.0.6"}, {"status": "affected", "version": "2.0.7"}, {"status": "affected", "version": "2.0.8"}, {"status": "affected", "version": "2.0.9"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://rhn.redhat.com/errata/RHSA-2013-0520.html", "tags": ["vendor-advisory"]}, {"url": "http://secunia.com/advisories/52311", "tags": ["vendor-advisory"]}, {"url": "http://hg.dovecot.org/dovecot-2.0/rev/5e9eaf63a6b1"}, {"url": "http://secunia.com/advisories/46886"}, {"url": "http://www.dovecot.org/list/dovecot-news/2011-November/000200.html"}, {"url": "http://www.openwall.com/lists/oss-security/2011/11/18/5"}, {"url": "http://www.openwall.com/lists/oss-security/2011/11/18/7"}, {"url": "https://bugs.gentoo.org/show_bug.cgi?id=390887"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=754980"}], "descriptions": [{"lang": "en", "value": "Dovecot 2.0.x before 2.0.16, when ssl or starttls is enabled and hostname is used to define the proxy destination, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a valid certificate for a different hostname."}, {"lang": "es", "value": "Dovecot v2.0.x antes de v2.0.16, cuando ssl o starttls está disponible y hostname se usa para definir la destinación del proxy, que no verifica que el servidor hostname busca el nombre del dominio en el sujeto del Common Name (CN) del certificado X.509, que permite ataques man-in-the middle para burlar los servidores SSL a través de un certificado para un hostname diferente."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-20", "description": "CWE-20"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2013-03-07T01:55:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2011-4318", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2013-03-07T01:55:01Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}