GLSA-202310-19 : Dovecot: Privilege Escalation

high Nessus Plugin ID 184011

Description

The remote host is affected by the vulnerability described in GLSA-202310-19 (Dovecot: Privilege Escalation)

- 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. (CVE-2022-30550)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All Dovecot users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=net-mail/dovecot-2.3.19.1-r1

See Also

https://security.gentoo.org/glsa/202310-19

https://bugs.gentoo.org/show_bug.cgi?id=856733

Plugin Details

Severity: High

ID: 184011

File Name: gentoo_GLSA-202310-19.nasl

Version: 1.0

Type: local

Published: 10/30/2023

Updated: 10/30/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-30550

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:dovecot, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/30/2023

Vulnerability Publication Date: 7/17/2022

Reference Information

CVE: CVE-2022-30550