CVE-2022-30550
dovecot: Privilege escalation when similar master and non-master passdbs are used
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Se ha detectado un problema en el componente auth en Dovecot versiones 2.2 y 2.3 anteriores a 2.3.20. Cuando se presentan dos entradas de configuración de passdb con los mismos ajustes de driver y args, pueden aplicarse ajustes incorrectos de username_filter y mechanism a las definiciones de passdb. Estos ajustes aplicados incorrectamente pueden conllevar a una configuración de seguridad no deseada y pueden permitir una escalada de privilegios en determinadas configuraciones. La documentación no aconseja contra el uso de definiciones de passdb que tengan la misma configuración de driver y args. Una de estas configuraciones sería cuando un administrador desea usar la misma configuración PAM o archivo passwd para los usuarios normales y maestros, pero usa la configuración username_filter para restringir cuál de los usuarios puede ser un usuario maestro
A vulnerability was found in the Dovecot IMAP Server. When two passdb configuration entries exist in the Dovecot configuration, which have the same driver and args settings, the incorrect username_filter and mechanism settings can be applied to passdb definitions. These incorrect settings can lead to an unintended security configuration and can permit privilege escalation with certain configurations involving a master user authentication. If the same passwd file or PAM is used for both normal and master users, an attacker could easily become a master user, potentially escalating privileges on the system.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2022-05-11 CVE Reserved
- 2022-07-07 CVE Published
- 2024-03-07 EPSS Updated
- 2024-10-15 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-284: Improper Access Control
- CWE-287: Improper Authentication
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://lists.debian.org/debian-lts-announce/2022/09/msg00032.html | Mailing List | |
https://www.dovecot.org/download | Product |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://www.openwall.com/lists/oss-security/2022/07/08/1 | 2024-01-12 |
URL | Date | SRC |
---|---|---|
https://dovecot.org/security | 2024-01-12 | |
https://security.gentoo.org/glsa/202310-19 | 2024-01-12 | |
https://access.redhat.com/security/cve/CVE-2022-30550 | 2022-11-15 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2105070 | 2022-11-15 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Dovecot Search vendor "Dovecot" | Dovecot Search vendor "Dovecot" for product "Dovecot" | >= 2.3 < 2.3.20 Search vendor "Dovecot" for product "Dovecot" and version " >= 2.3 < 2.3.20" | - |
Affected
| ||||||
Dovecot Search vendor "Dovecot" | Dovecot Search vendor "Dovecot" for product "Dovecot" | 2.2 Search vendor "Dovecot" for product "Dovecot" and version "2.2" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 10.0 Search vendor "Debian" for product "Debian Linux" and version "10.0" | - |
Affected
|