Auth bypass in Dovecot
CVE-2022-30550
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.023 · 84.1th percentile
- Published
- 2022-07-17
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
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.023, 84.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Dovecot — versions 2.2
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, Bhanunamikaze/DoveCot_Pentest). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- dovecot.org/security (Vendor Advisory)
- www.dovecot.org/download/ (Product)
- www.openwall.com/lists/oss-security/2022/07/08/1 (Patch, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20220927 [SECURITY] [DLA 3122-1] dovecot security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202310-19 (vendor-advisory, Third Party Advisory)