Auth bypass in Dovecot
CVE-2022-30550
An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20. When two passdb configuration entries exist with the same driver and args settings, incorrect username_filter and mechanism settings can be applied to passdb definitions. These incorrectly applied settings can lead to an unintended security configuration and can permit privilege escalation in certain configurations. The documentation does not advise against the use of passdb definitions that have the same driver and args settings. One such configuration would be where an administrator wishes to use the same PAM configuration or passwd file for both normal and master users but use the username_filter setting to restrict which of the users is able to be a master user.
Vulnerability class: Broken Authentication
EPSS: 0.021 (79.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Dovecot — versions 2.2
- Debian Debian_linux — versions 10.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Vendor Advisory)
- cve@mitre.org (Product)
- cve@mitre.org (Patch, Mailing List, Third Party Advisory)
- cve@mitre.org (mailing-list, Mailing List, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-30550?
- CVE-2022-30550 is a high-severity vulnerability in Dovecot, classified under Improper Authentication. CVSS score: 8.8/10. Published 2022-07-17.
- How severe is CVE-2022-30550?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2022-30550 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.